masking some more command line arguments

This commit is contained in:
Miroslav Stampar 2011-03-18 16:47:18 +00:00
parent 36233fac42
commit 58e9a074d3

View File

@ -2348,7 +2348,7 @@ def maskSensitiveData(msg):
retVal = msg
for item in filter(lambda x: x, [conf.hostname, conf.googleDork, conf.aCred]):
for item in filter(lambda x: x, [conf.hostname, conf.googleDork, conf.aCred, conf.tbl, conf.db, conf.col, conf.user]):
regex = SENSITIVE_DATA_REGEX % item
while extractRegexResult(regex, retVal):
value = extractRegexResult(regex, retVal)