Manually add custom suffix ing in iis/6.0/iis6. In addition to aspx, add extension ing.

Source: Internet
Author: User

The default Suffix of asp.net is. aspx. However, we can see that the suffix of many websites is very special, such as Microsoft. mspx. The following describes how to change the webpage suffix to mspx.
Methods in ASP. NET 1.1:
1. IIS ing (IIS-> default website-> properties-> main document-> Configuration-> ing-> Add ):
Extension. mspx ----> C: "WINNT" Microsoft. NET "Framework" v1.1.4322 "aspnet_isapi.dll
Limited by: GET, HEAD, POST, DEBUG
2. modify web. config
<Configuration>
 
<System. web>
 
<HttpHandlers>
 
<Add verb = "*" path = "*. mspx" type = "System. Web. UI. PageHandlerFactory"/>
 
</HttpHandlers>
 
</System. web>
 
</Configuration>
 
Methods in ASP. NET 2.0:
1. IIS ing (IIS-> default website-> properties-> main document-> Configuration-> ing-> Add ):
Extension. mspx ----> C: "WINDOWS" Microsoft. NET "Framework" v2.0.50727 "aspnet_isapi.dll
Limited by: GET, HEAD, POST, DEBUG
2. Modify www.2cto.com web. config
<Configuration>
 
<System. web>
 
<HttpHandlers>
 
<Add path = "*. mspx" verb = "*" type = "System. Web. UI. PageHandlerFactory"/>
 
</HttpHandlers>
 
<Compilation>
 
<BuildProviders>
 
<Add extension = ". mspx" type = "System. Web. Compilation. PageBuildProvider"/>
 
</BuildProviders>
 
</Compilation>
 
</System. web>
 
<Configuration>
 
In addition, iis configuration is required:
 
On the iis website node, right-click the property, select the "main directory" label, and then "Configure" to add the ing. xxx
 
C: \ windows \ microsoft.net \ framework \ v2.0.50727 \ aspnet_isapi.dll
 
Restrictions: GET, HEAD, POST, DEBUG
 
Note: The above method plus (http://www.bkjia.com/Article/201205/129859.html), you can use the command line (do not use the general iis window configuration) to open a specific Suffix of Web Trojans, so as to achieve the backdoor, please be careful to prevent, pay attention to security.

Related Article

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.