mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
Patch for an Issue #1024
This commit is contained in:
parent
9c225557d1
commit
5166675ff5
|
@ -405,9 +405,10 @@ def attackCachedUsersPasswords():
|
|||
|
||||
for user in kb.data.cachedUsersPasswords.keys():
|
||||
for i in xrange(len(kb.data.cachedUsersPasswords[user])):
|
||||
value = kb.data.cachedUsersPasswords[user][i].lower().split()[0]
|
||||
if value in lut:
|
||||
kb.data.cachedUsersPasswords[user][i] += "%s clear-text password: %s" % ('\n' if kb.data.cachedUsersPasswords[user][i][-1] != '\n' else '', lut[value])
|
||||
if (kb.data.cachedUsersPasswords[user][i] or "").strip():
|
||||
value = kb.data.cachedUsersPasswords[user][i].lower().split()[0]
|
||||
if value in lut:
|
||||
kb.data.cachedUsersPasswords[user][i] += "%s clear-text password: %s" % ('\n' if kb.data.cachedUsersPasswords[user][i][-1] != '\n' else '', lut[value])
|
||||
|
||||
def attackDumpedTable():
|
||||
if kb.data.dumpedTable:
|
||||
|
|
Loading…
Reference in New Issue
Block a user