mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Further narrowing down cloudfront WAF script (less FP on detection)
This commit is contained in:
parent
578c41f6de
commit
a831865633
3 changed files with 3 additions and 4 deletions
|
|
@ -19,7 +19,6 @@ def detect(get_page):
|
|||
_, headers, _ = get_page(get=vector)
|
||||
|
||||
retval = re.search(r"Error from cloudfront", headers.get("X-Cache", ""), re.I) is not None
|
||||
retval |= headers.get("X-Amz-Cf-Id") is not None
|
||||
|
||||
if retval:
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue