Minor update of WAF scripts

This commit is contained in:
Miroslav Stampar
2018-08-30 16:19:31 +02:00
parent aefb815064
commit db327a8538
4 changed files with 6 additions and 4 deletions

View File

@@ -15,6 +15,7 @@ def detect(get_page):
for vector in WAF_ATTACK_VECTORS:
page, _, _ = get_page(get=vector)
retval = "The requested URL was rejected. Please consult with your administrator." in (page or "")
retval |= all(_ in (page or "") for _ in ("This page can't be displayed. Contact support for additional information", "The incident ID is:"))
if retval:
break