mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Some more preparing for 2to3 (keys() is iter in 3)
This commit is contained in:
@@ -601,7 +601,7 @@ def attackCachedUsersPasswords():
|
||||
for (_, hash_, password) in results:
|
||||
lut[hash_.lower()] = password
|
||||
|
||||
for user in kb.data.cachedUsersPasswords.keys():
|
||||
for user in kb.data.cachedUsersPasswords:
|
||||
for i in xrange(len(kb.data.cachedUsersPasswords[user])):
|
||||
if (kb.data.cachedUsersPasswords[user][i] or "").strip():
|
||||
value = kb.data.cachedUsersPasswords[user][i].lower().split()[0]
|
||||
@@ -611,7 +611,7 @@ def attackCachedUsersPasswords():
|
||||
def attackDumpedTable():
|
||||
if kb.data.dumpedTable:
|
||||
table = kb.data.dumpedTable
|
||||
columns = table.keys()
|
||||
columns = list(table.keys())
|
||||
count = table["__infos__"]["count"]
|
||||
|
||||
if not count:
|
||||
|
||||
Reference in New Issue
Block a user