Create a Fake Virus using Notepad!

There are times where you would want to fool your friend by having a virus in your computer, but actually, it’s just a regular message box. Well, you’re able to do it, using a small code in Notepad that can make it all happen. This is what your final result should be :
Here’s the steps on creating a fake error message box. First off, open Notepad and type this code in:

X=MsgBox("Message Description",0+16,"Title")

This code is basically telling the computer that when the following script is opened, it will display a fake error message box with the title as “Title” and the description as “Message Description”. But those can be changed so if you want to type a different title or description, go ahead
This is a Visual Basic Code, which means you are able to type in Visual Basic Scripts using Notepad! So anyways, the numbers in that code can be changed.
Let me explain you the code:
X=MsgBox("Message Description",0+16,"Title")

Message Description: Write some warning message you want to display (In above image the description is “you have a virus. iNiyant has killed your computer. Your welcome” )
0+16: It is a combination of two different codes:
–you can write any numbers from 0,1,2,3,4 instead of 0 (before the ‘+’ symbol) & here is the meaning of each number:
0 = Ok Button
1 = Ok/Cancel Button
2 = Abort/Retry/Ignore button
3 = Yes/No/Cancel
4 = Yes/No
–you can write any numbers from 16,32,48,64 instead of 16 (after the  ‘+’ symbol) & here is the meaning of each number:
16 – Critical Icon
32 – Warning Icon
48 – Warning Message Icon
64 – Information Icon
Title: you can write any title (in above image the title is “Virus Detected”)
To create multiple Message Boxes, just duplicate the line so that it could end up to something like this in the message:
X=MsgBox("Message Description",0+16,"Title")
X=MsgBox("Message Description",0+16,"Title")

Now at the end you are going to go to ‘Save As’ and here’s the important step. The file-type should be set to ‘All types’ and the extension of your filename should be .VBS. For example, “Fake virus.vbs”. Once you save it, open it up and you should get your message box opened up. But i would not call this a really successful prank because changing the icon of the shortcut is rather difficult while you will need to get third-party programs and edit it from there itself. The following was done in Windows 7 Ultimate and will also work in Windows XP and Windows Vista.
That’s all there is to it!


Post a Comment

Recommend us on Google!


Twitter Delicious Facebook Digg Stumbleupon Favorites More