站长资源脚本专栏

用vbs通过135端口执行命令的脚本

整理:jimmy2024/12/27浏览2
简介wmiexec.vbs(通过135端口执行命令)复制代码 代码如下:set ww=createobject("wbemscripting.swbemlocator") set cc=ww.connectserver("172.20.241.218","root/cimv2","user","pas
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")