mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-12-01 22:13:53 +03:00
Minor update (to not confuse S3 vs Cloudfront)
This commit is contained in:
parent
53fc9d6720
commit
f91ae32284
|
@ -19,7 +19,7 @@ from lib.core.enums import OS
|
||||||
from lib.core.revision import getRevisionNumber
|
from lib.core.revision import getRevisionNumber
|
||||||
|
|
||||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||||
VERSION = "1.0.6.55"
|
VERSION = "1.0.6.56"
|
||||||
REVISION = getRevisionNumber()
|
REVISION = getRevisionNumber()
|
||||||
STABLE = VERSION.count('.') <= 2
|
STABLE = VERSION.count('.') <= 2
|
||||||
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")
|
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")
|
||||||
|
|
|
@ -20,7 +20,6 @@ def detect(get_page):
|
||||||
|
|
||||||
retval |= re.search(r"cloudfront", headers.get("X-Cache", ""), re.I) is not None
|
retval |= re.search(r"cloudfront", headers.get("X-Cache", ""), re.I) is not None
|
||||||
retval |= headers.get("X-Amz-Cf-Id") is not None
|
retval |= headers.get("X-Amz-Cf-Id") is not None
|
||||||
retval |= re.search(r"AmazonS3", headers.get(HTTP_HEADER.SERVER, ""), re.I) is not None
|
|
||||||
|
|
||||||
if retval:
|
if retval:
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue
Block a user