From d5a2ffc8ce72d584f0904d97dd52bcd33d7a9cd7 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 21 May 2020 22:32:16 +0200 Subject: [PATCH] Patch for Issue #4211 --- lib/core/agent.py | 4 ++++ lib/core/settings.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/core/agent.py b/lib/core/agent.py index 94a1e63ff..71eb1fc76 100644 --- a/lib/core/agent.py +++ b/lib/core/agent.py @@ -178,6 +178,10 @@ class Agent(object): _newValue = newValue _origValue = origValue + if newValue: + newValue = newValue.replace(BOUNDARY_BACKSLASH_MARKER, '\\') + newValue = self.adjustLateValues(newValue) + # TODO: support for POST_HINT newValue = encodeBase64(newValue, binary=False, encoding=conf.encoding or UNICODE_ENCODING) origValue = encodeBase64(origValue, binary=False, encoding=conf.encoding or UNICODE_ENCODING) diff --git a/lib/core/settings.py b/lib/core/settings.py index e52ff5039..be71209c5 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.27" +VERSION = "1.4.5.28" 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)