关于检测到目标URL存在http host头攻击漏洞基于Tomcat下的修复

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/h1059141989/article/details/84622000

修改tomcat下的conf/server.xml文件

  • 将Host中的name修改为静态的域名,如下(原本为localhost)

猜你喜欢

转载自blog.csdn.net/h1059141989/article/details/84622000