0

Hi everyone!

I'm writing trojan/virus for educational purposes only. That is my final practical work.

The problem is that i need to fire up a .vbs file from disk.To do that i need path. How to find path and save it to string variable. Even bigger problem is how to execute it, when i save it to the variable.

For executing i have used this function:

Process.Start("C:\Script.vbs")

I tried to save this path to variable and execute it like this:

Dim path_string as String
path_String = "C:\Script.vbs"
Process.Start(path_String)

Guess what happened?!

Any help will be appreciated!

2
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by morb
0

Guess what happened?!

You got infected and did you not create the anti-virus yet? ;)

Any help will be appreciated!

Help with what exactly? The above is correct. does it give any error?

0

Well nothing happened, there was an error.
I figured it out by myself.
TNX anyway!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.