ngx-lua-waf文件上传,军哥帮看下什么原因
http://域名/test.php?id=../etc/passwd 测试正常,但文件上传类型限制不起作用,还是可以正常上传。RulePath = "/usr/local/nginx/conf/waf/wafconf/"
attacklog = "on"
logdir = "/usr/local/nginx/logs/hack/"
UrlDeny="on"
Redirect="on"
CookieMatch="on"
postMatch="on"
whiteModule="on"
black_fileExt={"php","jsp"}
ipWhitelist={"127.0.0.1"}
ipBlocklist={"1.0.0.1"}
CCDeny="off"
CCrate="100/60"
什么程序上传的什么类型文件? ftp上传会拦截吗 ngx-lua-waf是安装在nginx上的拦截不了ftp的
页:
[1]