minor update

This commit is contained in:
Miroslav Stampar 2012-02-14 10:27:56 +00:00
parent 3f15c52188
commit bb5113980b

View File

@ -2729,7 +2729,7 @@ def maskSensitiveData(msg):
retVal = msg
for item in filter(None, map(lambda x: conf.get(x), ['hostname', 'googleDork', 'aCred', 'pCred', 'tbl', 'db', 'col', 'user', 'cookie'])):
for item in filter(None, map(lambda x: conf.get(x), ["hostname", "googleDork", "aCred", "pCred", "tbl", "db", "col", "user", "cookie", "proxy"])):
regex = SENSITIVE_DATA_REGEX % item
while extractRegexResult(regex, retVal):
value = extractRegexResult(regex, retVal)