mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
minor beautification
This commit is contained in:
parent
93ae1dfa2b
commit
0627bb02cb
|
@ -2636,7 +2636,7 @@ def maskSensitiveData(msg):
|
|||
|
||||
retVal = msg
|
||||
|
||||
for item in filter(lambda x: x, 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'])):
|
||||
regex = SENSITIVE_DATA_REGEX % item
|
||||
while extractRegexResult(regex, retVal):
|
||||
value = extractRegexResult(regex, retVal)
|
||||
|
|
|
@ -887,7 +887,7 @@ class Enumeration:
|
|||
query = safeStringFormat(query, conf.db)
|
||||
|
||||
value = inject.getValue(query, blind=False)
|
||||
value = arrayizeValue(filter(lambda x: x, value))
|
||||
value = arrayizeValue(filter(None, value))
|
||||
|
||||
if not isNoneValue(value):
|
||||
if len(value) > 0 and not isinstance(value[0], (list, tuple)):
|
||||
|
|
Loading…
Reference in New Issue
Block a user