检测到目标URL启用了 Microsoft ASP.NET 调试

https://blog.csdn.net/weixin_34216196/article/details/91847502

Microsoft ASP.NET 很容易受到信息泄露攻击。攻击者可以发送一个通知是否支持调试支持的恶意请求。  

攻击者可以利用 DEBUG 动词来发送恶意请求。

解决:

设置 compilation debug="true" 可将调试符号插入已编译的页面中。但由于这会 影响性能,因此只在开发过程中将此值
设置为 true。

如果要在 ASP.NET 中禁用调试,请编辑您的 web.config 文件,使它含有下列属性: 
<compilation  debug="false" /> 

posted @ 2022-10-10 16:51  yinghualeihenmei  阅读(103)  评论(0编辑  收藏  举报