mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
fix for a bug reported by deep_freeze@mail.ru (IndexError: list index out of range)
This commit is contained in:
@@ -219,6 +219,9 @@ def attackDumpedTable():
|
||||
for column in columns:
|
||||
if column == colUser or column == '__infos__':
|
||||
continue
|
||||
if len(table[column]['values']) <= i:
|
||||
continue
|
||||
|
||||
value = table[column]['values'][i]
|
||||
if hashRecognition(value):
|
||||
if colUser:
|
||||
@@ -244,6 +247,9 @@ def attackDumpedTable():
|
||||
for column in columns:
|
||||
if column == colUser or column == '__infos__':
|
||||
continue
|
||||
if len(table[column]['values']) <= i:
|
||||
continue
|
||||
|
||||
value = table[column]['values'][i]
|
||||
if value.lower() == hash_.lower():
|
||||
table[column]['values'][i] += " (%s)" % password
|
||||
|
||||
Reference in New Issue
Block a user