Friday, 29 August 2014

Virus-Creating a simple Batch virus to hang your computer.

Creating A Simple virus through Batch file

Batch programming is a powerful programming to create different viruses by using simple DOS commands.
Here I am showing you how to create a simple virus using batch file.

  • Open notepad
  • Write following code in it-

                     @echo off
                       : Loop
                       Start
                       echo OS not found !!!!!!!!!
                       goto Loop

  • Save this text file with ".Bat" extension
  • Run .Bat file
  • When you run this file many command prompt appears one after another and your computer get hanged.

Explanation:


In this batch file we just use simple commands which are explained below-

@echo off : This command hide your prompt i.e C:\> will not appear on cmd screen.

:loop : It is a label,you can replace it with another word like your name :)

Start : This command is used to open new CMD screen.

echo : You can give your message through echo command.

goto: Goto command is a jump command which move your execution on given lable.

So in this programming we just open cmd screen many times by executing Start command many times.







                       


No comments:

Post a Comment