From 79e0fc76029d5b0f20da645a04e681b13160efc8 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 26 Sep 2021 01:10:02 +0200 Subject: [PATCH] Fixes #4824 --- lib/core/settings.py | 2 +- lib/techniques/blind/inference.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index df9131212..8d5e96c96 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from thirdparty import six from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.5.9.7" +VERSION = "1.5.9.8" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) diff --git a/lib/techniques/blind/inference.py b/lib/techniques/blind/inference.py index 9104ae625..eba260aa7 100644 --- a/lib/techniques/blind/inference.py +++ b/lib/techniques/blind/inference.py @@ -366,7 +366,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None if threadData.lastCode is not None: warnMsg = "unexpected HTTP code '%s' detected." % threadData.lastCode else: - warnMsg = "unexpected response detected." % threadData.lastCode + warnMsg = "unexpected response detected." warnMsg += " Will use (extra) validation step in similar cases"