mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Some more preparing for 2to3 (keys() is iter in 3)
This commit is contained in:
parent
1adc66b763
commit
8f13bda035
14 changed files with 37 additions and 37 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue