From 5a20f6143be96edcae81206fabbdfc8629d54de2 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 5 May 2019 23:30:44 +0200 Subject: [PATCH] Fixes #3619 --- lib/core/common.py | 3 +++ lib/core/settings.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/core/common.py b/lib/core/common.py index 8494a0eea..363c3772e 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -3631,6 +3631,9 @@ def maskSensitiveData(msg): retVal = getUnicode(msg) for item in filterNone(conf.get(_) for _ in SENSITIVE_OPTIONS): + if isListLike(item): + item = listToStrValue(item) + regex = SENSITIVE_DATA_REGEX % re.sub(r"(\W)", r"\\\1", getUnicode(item)) while extractRegexResult(regex, retVal): value = extractRegexResult(regex, retVal) diff --git a/lib/core/settings.py b/lib/core/settings.py index 4493dc37a..07a82ee31 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty import six # sqlmap version (...) -VERSION = "1.3.5.18" +VERSION = "1.3.5.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)