From 2e5e958d3f3b8aa795c1b9f4919d244eb89ab137 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 28 Jul 2020 11:22:05 +0200 Subject: [PATCH] Fixes #4287 --- lib/core/settings.py | 2 +- plugins/generic/entries.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 969634385..3c3e8d954 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.7.21" +VERSION = "1.4.7.22" 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/plugins/generic/entries.py b/plugins/generic/entries.py index 395e50d13..d8e0829c0 100644 --- a/plugins/generic/entries.py +++ b/plugins/generic/entries.py @@ -172,7 +172,7 @@ class Entries(object): for column in colList: _ = agent.preprocessField(tbl, column) if _ != column: - colString = re.sub(r"\b%s\b" % re.escape(column), _, colString) + colString = re.sub(r"\b%s\b" % re.escape(column), _.replace("\\", r"\\"), colString) entriesCount = 0