mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-12-01 22:13:53 +03:00
Minor fix (for those multiline cases like in MsSQL)
This commit is contained in:
parent
6629233de5
commit
efe1bf0ded
|
@ -339,7 +339,7 @@ def attackCachedUsersPasswords():
|
||||||
|
|
||||||
for user in kb.data.cachedUsersPasswords.keys():
|
for user in kb.data.cachedUsersPasswords.keys():
|
||||||
for i in xrange(len(kb.data.cachedUsersPasswords[user])):
|
for i in xrange(len(kb.data.cachedUsersPasswords[user])):
|
||||||
value = kb.data.cachedUsersPasswords[user][i].lower()
|
value = kb.data.cachedUsersPasswords[user][i].lower().split()[0]
|
||||||
if value in lut:
|
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])
|
kb.data.cachedUsersPasswords[user][i] += "%s clear-text password: %s" % ('\n' if kb.data.cachedUsersPasswords[user][i][-1] != '\n' else '', lut[value])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user