From 1e1f622567141b524282e2fb63a1251716a3a6a7 Mon Sep 17 00:00:00 2001 From: loveshell <82163261@qq.com> Date: Sun, 24 Mar 2013 01:12:47 +0800 Subject: [PATCH] deny HP Web Inspect scanner --- waf.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/waf.lua b/waf.lua index f89d59c..14dfd68 100644 --- a/waf.lua +++ b/waf.lua @@ -52,6 +52,8 @@ else check() elseif ngx.req.get_headers()['Acunetix-Aspect'] then ngx.exit(400) + elseif ngx.req.get_headers()['X-Scan-Memo'] then + ngx.exit(400) else return end