mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
Bug fix
This commit is contained in:
parent
a20da7a677
commit
4800ea7311
|
@ -13,12 +13,12 @@ from lib.core.settings import WAF_ATTACK_VECTORS
|
|||
__product__ = "EdgeCast WAF (Verizon)"
|
||||
|
||||
def detect(get_page):
|
||||
retval = False
|
||||
retVal = False
|
||||
|
||||
for vector in WAF_ATTACK_VECTORS:
|
||||
page, headers, code = get_page(get=vector)
|
||||
retVal = code == 400 and re.search(r"\AECDF", headers.get(HTTP_HEADER.SERVER, ""), re.I) is not None
|
||||
if retval:
|
||||
if retVal:
|
||||
break
|
||||
|
||||
return retval
|
||||
return retVal
|
||||
|
|
Loading…
Reference in New Issue
Block a user