Minor update of WAF scripts

This commit is contained in:
Miroslav Stampar
2019-01-07 15:29:35 +01:00
parent 48cdc6a308
commit 929df9bc34
4 changed files with 6 additions and 5 deletions

View File

@@ -17,6 +17,7 @@ def detect(get_page):
for vector in WAF_ATTACK_VECTORS:
page, _, _ = get_page(get=vector)
retval = re.search(r"has been blocked in accordance with company policy", page or "", re.I) is not None
retval |= all(_ in (page or "") for _ in ("Palo Alto Next Generation Security Platform", "Download Blocked"))
if retval:
break