How often you attempted to make a Fake or trick infection to feel like programmer or to trick somebody, you may succeeded sometime or sometime you may fail even sometimes this prank can harm your friends pc however I am not going to expound on any such infection which can prompt even little mischief to your or your companion’s PC. Today we will learn how to create fake virus.
Today we make a VBS record (VBScript) which have normal and easy codes to show different popup windows with loads of messages one by one, which a non-tech individual can’t recognize that it is truly a trick and that’s it, they may feel that it is an infection and they are stuck in an unfortunate situation it’s your obligation to reveal to them that there is no infection however group of message box which does not hurt the PC and you just tricked them.
How to Create fake Virus for Prank?
This kind of Prank Virus is easy to create with notepad and few lines of simple code. Follow these steps-
Step 1. Writing Sample Code
- Open Notepad or Notepad++.
Here is the code to generate message box in windows computer.
TYPE the above code in Notepad and save it on your desktop give it some convincing name like Mycomputer and save all files as .vbs extension
and select all files instead of *txt. Like My Computer.vbs
Now, Open the saved file on your computer and you will see a message like this.
Button – Type of button like OK, Yes, No, Cancel or anything you want
Icon – Type of icon you want to show like Info icon, critical icon or anything else
Title – Title of message Box like (Virus)
1. You can write any number from 1,2,3 or 4 instead of 0 (before the ‘+’ symbol)
Here is the meaning of these numbers:
- 0 = OK Button it is just ok button
- 1 = OK / Cancel Button,
- 2 = Abort / Retry / Ignore Button,
- 3 = Yes / No / Cancel Button,
- 4 = Yes / No Button,
- 5 = Retry / Cancel Button
2. You can write 32 or 48 or 64 instead of 16.
Here is the meaning of each number in the code:
- 16 = Critical Icon,
- 32 = Help Icon,
- 48 = Warning Icon,
- 64 = Information Icon,
Type the above code with your message, desired button, icon and title, one line of code generates one message box so you need to write code in separate line to generate another message box like
X=MsgBox(“Error while opening Computer. Do you want to Fix this Error?”,4+64,”Computer”)
X=MsgBox(“Unable to Fix this Error. Do you want to scan this Computer”,3+48,”Computer”)
It will look like the image shown below –
Type convening message with proper buttons, relative icons, and title, and save this notepad on your desktop but don’t forget to assign .vbs extension and select all files instead of *txt while saving this notepad. When you save it you will get an icon which looks like a Virus icon.
If you are noob then just copy past this code below :
- X=MsgBox(“Error while opening Computer. Do you want to Fix this Error?”,4+64,”Computer”)
- X=MsgBox(“Unable to Fix this Error. Do you want to scan this Computer”,3+48,”Computer”)
- X=MsgBox(“Alert ! Virus Detected. Delete Virus? “,3+16,”Alert!”)
- X=MsgBox(“Unable to delete this Virus”,1+64,”Critical Error”)
- X=MsgBox(“Virus Is activated”,2+16,”Alert”)
- X=MsgBox(“Deleling System Files…..”,2+16,”File Deletion”)
- X=MsgBox(“Virus is copying your password…..”,2+48,”Virus Alert”)
- X=MsgBox(“Please Wait, Uploading your data to Server. Do you want to Stop it”,4+64,”File Transfer”)
- X=MsgBox(“Could not stop. File Transfer Completed”,1+16,”Completed”)
- X=MsgBox(“Your Computer is Hacked”,0+64,”Alert”)
- X=MsgBox(“HAHA This was just to fool you by a Prank”,0+64,”Fooled You”)
Or just download file from here im sure now you know how to create fake virus