From 60f45200206d49a8aa0c40b40b17b0ff9f55949c Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 23 Sep 2020 15:29:28 +0200 Subject: [PATCH] Minor update for #4353 --- lib/core/option.py | 2 ++ lib/core/settings.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/core/option.py b/lib/core/option.py index 77ddf497f..33ec158c3 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -1837,6 +1837,8 @@ def _cleanupOptions(): if not regex: conf.exclude = re.sub(r"\s*,\s*", ',', conf.exclude) conf.exclude = r"\A%s\Z" % '|'.join(re.escape(_) for _ in conf.exclude.split(',')) + else: + conf.exclude = re.sub(r"(\w+)\$", r"\g<1>\$", conf.exclude) if conf.binaryFields: conf.binaryFields = conf.binaryFields.replace(" ", "") diff --git a/lib/core/settings.py b/lib/core/settings.py index ad5e89d11..210f0dd8e 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.9.18" +VERSION = "1.4.9.19" 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)