Minor updates to WAF scripts

This commit is contained in:
Miroslav Stampar
2019-01-07 17:22:16 +01:00
parent cb72223452
commit 243b564b6a
4 changed files with 6 additions and 6 deletions

View File

@@ -14,6 +14,6 @@ def detect(get_page):
for vector in WAF_ATTACK_VECTORS:
page, _, _ = get_page(get=vector)
retval = any(_ in (page or "") for _ in ("| Virusdie</title>", "http://cdn.virusdie.ru/splash/firewallstop.png", "&copy; Virusdie.ru</p>"))
retval = any(_ in (page or "") for _ in ("| Virusdie</title>", "http://cdn.virusdie.ru/splash/firewallstop.png", "&copy; Virusdie.ru</p>", '<meta name="FW_BLOCK"'))
return retval