mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-03 05:09:15 +00:00
Minor patching of logics in WAF scripts
This commit is contained in:
@@ -14,6 +14,8 @@ 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", "© Virusdie.ru</p>", '<meta name="FW_BLOCK"'))
|
||||
retval |= any(_ in (page or "") for _ in ("| Virusdie</title>", "http://cdn.virusdie.ru/splash/firewallstop.png", "© Virusdie.ru</p>", '<meta name="FW_BLOCK"'))
|
||||
if retval:
|
||||
break
|
||||
|
||||
return retval
|
||||
|
||||
Reference in New Issue
Block a user