So, today I’m going
to teach you how to say “I LOVE YOU” to someone. :D ha..ha..ha.., just joking.
Well, I’m not lying but actually I’m going to teach your computer to say “I
LOVE YOU”. Along with I LOVE YOU, we’ll also look at one other virus
code today. These are very simple codes and many of you might be aware of these viruses, but still for those
who aren’t will find this exciting.
1) "I LOVE YOU" virus
Simply copy-paste
the given code in notepad:
@ echo off
:love
msg
* I LOVE YOU darling....!!!
goto love
Save the file as
love.bat
Once you execute the
file by double clicking on it, a message box displaying “I LOVE YOU
darling….!!!” Will be displayed on the screen. Try closing it. You’ll enjoy it.
Woking: Those who
know ‘C’ programming will understand this quickly.
The ECHO OFF/ON
Command is a command which will either turn ON, or OFF the command you put in a batch file from
showing itself. Like, here we’ve typed @ echo off so it won’t show the virus
code we’ve typed in.
‘:love‘ is a
function you’ve created. And ‘msg * I LOVE YOU darling....!!!’ is the body of
the function.‘msg’ is a command to display the message.‘goto :love’ again
calls back or executes love function up to infinite times. So, it would never end.
NOTE:- This Virus
will not harm to your computer but it continuously runs on the desktop and will
be a “pain in the ass”. Once you restart the PC and everything will be as
usual. So have fun with your friends by this love virus and also wish your
Girl/Boy Friend with this new type of Wishing .
2
2) "Flooder" Virus
Simply copy-paste
the given code in notepad:
@ echo off
:flooder
md %random%
goto flooder
Make a new folder
(I’m telling you to do this for your own good). Save the notepad file in this new
folder as flooder.bat
Open the Saved
Location of file and Double Click the Bat file and see to your surprise, you’ll
find directory filled Up with astronomical number of random folders.
Woking: Working is
the same as mentioned in ‘I LOVE YOU’ virus. ‘md’ stands for ‘make directory’. '%random%' generates random numerical values for the directories' name.
NOTE:-This Virus
will not harm to your computer but the victim will have a hard time in
manually deleting the folders. So to test this virus, create a separate folder and then test it.
Even you yourself
can create your own virus by learning batch programming. It is important to
note that these viruses will only run on ‘Windows’ operating systems.
In the next post
learn to create a real and destructive virus. Till then experiment these
viruses and enjoy with your friends.
Have a nice day :) ….