|
Server : Apache System : Linux 10-169-227-96.cprapid.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 User : kwssawblade ( 1099) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Directory : /etc/apache2/conf.d/ |
Upload File : |
<IfModule security2_module>
SecRuleEngine On
# 阻止 /index.php/Content/Pagedis/lists/id/ 后超过 5 层目录(6层及以上),不记录日志
SecRule REQUEST_URI "@rx ^/index\.php/Content/Pagedis/lists/id/(?:[^/]+/){6,}" \
"id:100001,phase:1,deny,status:403,nolog,noauditlog,msg:'Blocked malicious URL exceeding 5 path segments after id'"
</IfModule>