Minor cleanup

This commit is contained in:
Miroslav Stampar
2019-01-20 16:49:14 +01:00
parent 36b69bbe79
commit 17b79cd21b
3 changed files with 2 additions and 22 deletions

View File

@@ -1,19 +0,0 @@
#!/usr/bin/env python
"""
Copyright (c) 2006-2019 sqlmap developers (http://sqlmap.org/)
See the file 'LICENSE' for copying permission
"""
from lib.core.settings import WAF_ATTACK_VECTORS
__product__ = "CleanTalk Web Application FireWall (CleanTalk)"
def detect(get_page):
retval = False
for vector in WAF_ATTACK_VECTORS:
page, _, _ = get_page(get=vector)
retval = any(_ in (page or "") for _ in ("Blocked by Web Application Firewall", "Security by CleanTalk"))
return retval