Minor update of sitelock.py

This commit is contained in:
Miroslav Stampar
2017-11-26 12:11:09 +01:00
parent 792ed52ab5
commit f60727a891
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 = "SiteLock Incident ID" in (page or "")
retval |= any(_ in (page or "") for _ in ("SiteLock Incident ID", "sitelock-site-verification", "sitelock_shield_logo"))
if retval:
break