From 12158af6ca78c0a894551d439dd80369da7b0816 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 4 Dec 2020 12:28:13 +0100 Subject: [PATCH] Fixes #4457 --- lib/core/settings.py | 2 +- lib/request/connect.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index b922c972e..f91b9de61 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.4.12.9" +VERSION = "1.4.12.10" 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/request/connect.py b/lib/request/connect.py index 55230670b..d697f8a31 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -1278,7 +1278,7 @@ class Connect(object): for name, value in variables.items(): if name != "__builtins__" and originals.get(name, "") != value: - if isinstance(value, (int, float, six.string_types)): + if isinstance(value, (int, float, six.string_types, six.binary_type)): found = False value = getUnicode(value, UNICODE_ENCODING)