From 6327063bd017323ba90f054b5b472f6d9ed01435 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 27 May 2016 16:43:01 +0200 Subject: [PATCH] Minor patch --- lib/core/settings.py | 2 +- lib/request/basic.py | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index ffeaa624c..04c5a0ec2 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.5.93" +VERSION = "1.0.5.94" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev") diff --git a/lib/request/basic.py b/lib/request/basic.py index 54b99988b..1667bb5d4 100644 --- a/lib/request/basic.py +++ b/lib/request/basic.py @@ -258,15 +258,16 @@ def decodePage(page, contentEncoding, contentType): page = data.read() except Exception, msg: - errMsg = "detected invalid data for declared content " - errMsg += "encoding '%s' ('%s')" % (contentEncoding, msg) - singleTimeLogMessage(errMsg, logging.ERROR) + if "