Same sentence in Cloudflare (too)

This commit is contained in:
Miroslav Stampar
2019-01-14 11:35:54 +01:00
parent c0d4db3aba
commit 6cdb90ddf8
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 = all(_ in (page or "") for _ in ("This website is using a security service to protect itself from online attacks", "You performed an action that triggered the service and blocked your request"))
retval = all(_ in (page or "") for _ in ("You performed an action that triggered the service and blocked your request",))
if retval:
break