From 9dd5cd8eb6b620858da2fec7a85d4597565bcf1c Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 29 Apr 2016 00:17:07 +0200 Subject: [PATCH] Removing CloudFlare check --- lib/controller/checks.py | 5 ----- lib/core/settings.py | 5 +---- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index e8dd9c97f..0a34729fa 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -63,7 +63,6 @@ from lib.core.exception import SqlmapConnectionException from lib.core.exception import SqlmapNoneDataException from lib.core.exception import SqlmapSilentQuitException from lib.core.exception import SqlmapUserQuitException -from lib.core.settings import CLOUDFLARE_SERVER_HEADER from lib.core.settings import DEFAULT_GET_POST_DELIMITER from lib.core.settings import DUMMY_NON_SQLI_CHECK_APPENDIX from lib.core.settings import FORMAT_EXCEPTION_STRINGS @@ -1384,10 +1383,6 @@ def checkConnection(suppressOutput=False): else: kb.errorIsNone = True - if headers and headers.get("Server", "") == CLOUDFLARE_SERVER_HEADER: - warnMsg = "CloudFlare response detected" - logger.warn(warnMsg) - except SqlmapConnectionException, ex: if conf.ipv6: warnMsg = "check connection to a provided " diff --git a/lib/core/settings.py b/lib/core/settings.py index c909f5b96..406179eed 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.4.21" +VERSION = "1.0.4.22" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev") @@ -312,9 +312,6 @@ BURP_REQUEST_REGEX = r"={10,}\s+[^=]+={10,}\s(.+?)\s={10,}" # Regex used for parsing XML Burp saved history items BURP_XML_HISTORY_REGEX = r'(\d+).+?