wmiexec.vbs(通过135端口执行命令)
复制代码 代码如下:
set ww=createobject("wbemscripting.swbemlocator")
set cc=ww.connectserver("172.20.241.218","root/cimv2","user","password")
Set pp=cc.get("Win32_Process")
pp.create("cmd /c temp.exe")
复制代码 代码如下:
set ww=createobject("wbemscripting.swbemlocator")
set cc=ww.connectserver("172.20.241.218","root/cimv2","user","password")
Set pp=cc.get("Win32_Process")
pp.create("cmd /c temp.exe")