From f91ae322841fcceefbfa53f4d708d8bf61d5e62f Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 24 Jun 2016 13:39:13 +0200 Subject: [PATCH] Minor update (to not confuse S3 vs Cloudfront) --- lib/core/settings.py | 2 +- waf/cloudfront.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 7ed427319..71afdcb98 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -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") diff --git a/waf/cloudfront.py b/waf/cloudfront.py index e5eae8b2e..7cfa455a9 100644 --- a/waf/cloudfront.py +++ b/waf/cloudfront.py @@ -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