minor update for masking sensitive data in error report (added aCred too)

This commit is contained in:
Miroslav Stampar
2011-03-02 10:09:17 +00:00
parent ad2e4002ea
commit f27f05308a
2 changed files with 2 additions and 2 deletions

View File

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