server {
    #获取url完整请求
    set $URL  $scheme://$http_host$request_uri;
    #根据获取的URL匹配一些限制字符,满足条件拒绝访
    #这里匹配 远程代码执行漏洞- "\x03\x00\x00/*\xE0\x00\x00\x00\x00\x00Cookie: mstshash=Administr"
    if ($URL ~ "Administr"){
        return 405;
    }
}

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-12
  • 2021-12-03
猜你喜欢
  • 2021-06-27
  • 2022-12-23
  • 2021-09-14
  • 2021-12-15
  • 2021-06-12
  • 2022-02-27
  • 2022-12-23
相关资源
相似解决方案