mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
Fixes #3619
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user