mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-04 04:05:46 +03:00
cosmetics
This commit is contained in:
parent
6c87bd1c63
commit
2dae57a56d
|
@ -2310,12 +2310,11 @@ def maskSensitiveData(msg):
|
||||||
|
|
||||||
retVal = msg
|
retVal = msg
|
||||||
|
|
||||||
if retVal:
|
for item in filter(lambda x: x, [conf.hostname, conf.googleDork]):
|
||||||
for item in filter(lambda x: x, [conf.hostname, conf.googleDork]):
|
regex = SENSITIVE_DATA_REGEX % item
|
||||||
regex = SENSITIVE_DATA_REGEX % item
|
while extractRegexResult(regex, retVal):
|
||||||
while extractRegexResult(regex, retVal):
|
value = extractRegexResult(regex, retVal)
|
||||||
value = extractRegexResult(regex, retVal)
|
retVal = retVal.replace(value, '*'*len(value))
|
||||||
retVal = retVal.replace(value, '*'*len(value))
|
|
||||||
|
|
||||||
return retVal
|
return retVal
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user