mgeeky-Penetration-Testing-.../red-teaming/code-exec-templates/wscript-shell-code-exec.vbs
Mariusz B. / mgeeky 558762a498 updates
2021-10-24 23:11:42 +02:00

14 lines
313 B
Plaintext

'
' This script uses classic WScript.Shell Run method to
' execute given command in a hidden window (second param = 0)
'
' Mariusz Banach / mgeeky, <mb@binary-offensive.com>
' (https://github.com/mgeeky)
'
command = "notepad.exe"
With CreateObject("WScript.Shell")
.Run command, 0, False
End With