在线咨询
QQ咨询
服务热线
服务热线:13125520620
TOP

用asp远程执行命令 - ASP技术

发布时间:2011-11-12 浏览:4803

<%
'by xiaolu
set ww=server.createobject("wbemscripting.swbemlocator")
set cc=ww.connectserver("192.168.2.1","root/cimv2","administrator","xiaolu")
set ss=cc.get("Win32_ProcessStartup")
Set oC=ss.SpawnInstance_
oC.ShowWindow=12
Set pp=cc.get("Win32_Process")
Response.Write pp.create("net user",null,oC,intProcessID)
Response.Write "<br>"&intProcessID
Response.end
%>

TAG
软件定制,软件开发,瀚森HANSEN,辽宁,沈阳,抚顺
0
该内容对我有帮助