站长资源脚本专栏
用vbs通过135端口执行命令的脚本
简介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")
复制代码 代码如下:
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")
上一篇:VBS备忘录启动代码