zhongkui-waf
zhongkui-waf copied to clipboard
WAF based on lua-nginx-module.
新链接是 `https://kyne.au/%7Emark/software/lua-cjson.php`
CC防护规则>>>cc-ip>>>ON>>>统计时长:5次/60s    
如图  正常是用real_ip_header
https://github.com/TScci/threatips
Log: `2024/06/01 07:32:57 [error] 29161#0: *57521 lua entry thread aborted: runtime error: /usr/local/openresty/zhongkui-waf/lib/request.lua:47: http2 requests are not supported without content-length header stack traceback: coroutine 0: [C]: in function 'read_body' /usr/local/openresty/zhongkui-waf/lib/request.lua:47:...
提交站点的数据是post请求,但是local args, err = ngx.req.get_uri_args()获取的是get请求,获取不到数据,page为null  