Minor update (to not confuse S3 vs Cloudfront)

This commit is contained in:
Miroslav Stampar 2016-06-24 13:39:13 +02:00
parent 53fc9d6720
commit f91ae32284
2 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,7 @@ from lib.core.enums import OS
from lib.core.revision import getRevisionNumber
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.0.6.55"
VERSION = "1.0.6.56"
REVISION = getRevisionNumber()
STABLE = VERSION.count('.') <= 2
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

View File

@ -20,7 +20,6 @@ def detect(get_page):
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 |= re.search(r"AmazonS3", headers.get(HTTP_HEADER.SERVER, ""), re.I) is not None
if retval:
break