Minor update of ExpressionEngine WAF script

This commit is contained in:
Miroslav Stampar
2019-01-06 03:48:56 +01:00
parent ed0420e635
commit 30497acd0c
3 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ def detect(get_page):
for vector in WAF_ATTACK_VECTORS:
page, _, _ = get_page(get=vector)
retval = "Invalid GET Data" in (page or "")
retval = any((page or "").strip() == _ for _ in ("Invalid GET Data", "Invalid URI"))
if retval:
break