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.