From 0b93311ef2292fa302d39621d7dde4f3b7999488 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 13 May 2020 11:59:59 +0200 Subject: [PATCH] Fixes #4201 --- lib/core/settings.py | 2 +- thirdparty/clientform/clientform.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 942b9c896..2c84cf7c8 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.5.14" +VERSION = "1.4.5.15" 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/thirdparty/clientform/clientform.py b/thirdparty/clientform/clientform.py index f4bd651d5..10c52ff3c 100644 --- a/thirdparty/clientform/clientform.py +++ b/thirdparty/clientform/clientform.py @@ -709,7 +709,7 @@ class _AbstractFormParser: data = data[1:] map[key] = data else: - map[key] = (map[key].decode("utf8") if isinstance(map[key], six.binary_type) else map[key]) + data + map[key] = (map[key].decode("utf8", "replace") if isinstance(map[key], six.binary_type) else map[key]) + data def do_button(self, attrs): debug("%s", attrs)