Minor update of paloalto.py (Issue #2749)

This commit is contained in:
Miroslav Stampar 2017-10-29 23:39:32 +01:00
parent 8d7796f41c
commit 915d4bf900

View File

@ -16,7 +16,7 @@ def detect(get_page):
for vector in WAF_ATTACK_VECTORS: for vector in WAF_ATTACK_VECTORS:
page, _, _ = get_page(get=vector) page, _, _ = get_page(get=vector)
retval = re.search(r"Access[^<]+has been blocked in accordance with company policy", page or "", re.I) is not None retval = re.search(r"has been blocked in accordance with company policy", page or "", re.I) is not None
if retval: if retval:
break break