mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
fix for a bug reported by deep_freeze@mail.ru (IndexError: list index out of range)
This commit is contained in:
parent
0eabca9fd4
commit
fdc463d08b
|
@ -348,6 +348,9 @@ class Dump:
|
||||||
if column != "__infos__":
|
if column != "__infos__":
|
||||||
info = tableValues[column]
|
info = tableValues[column]
|
||||||
|
|
||||||
|
if len(info["values"]) <= i:
|
||||||
|
continue
|
||||||
|
|
||||||
value = getUnicode(info["values"][i])
|
value = getUnicode(info["values"][i])
|
||||||
|
|
||||||
if re.search("^[\ *]*$", value):
|
if re.search("^[\ *]*$", value):
|
||||||
|
|
|
@ -219,6 +219,9 @@ def attackDumpedTable():
|
||||||
for column in columns:
|
for column in columns:
|
||||||
if column == colUser or column == '__infos__':
|
if column == colUser or column == '__infos__':
|
||||||
continue
|
continue
|
||||||
|
if len(table[column]['values']) <= i:
|
||||||
|
continue
|
||||||
|
|
||||||
value = table[column]['values'][i]
|
value = table[column]['values'][i]
|
||||||
if hashRecognition(value):
|
if hashRecognition(value):
|
||||||
if colUser:
|
if colUser:
|
||||||
|
@ -244,6 +247,9 @@ def attackDumpedTable():
|
||||||
for column in columns:
|
for column in columns:
|
||||||
if column == colUser or column == '__infos__':
|
if column == colUser or column == '__infos__':
|
||||||
continue
|
continue
|
||||||
|
if len(table[column]['values']) <= i:
|
||||||
|
continue
|
||||||
|
|
||||||
value = table[column]['values'][i]
|
value = table[column]['values'][i]
|
||||||
if value.lower() == hash_.lower():
|
if value.lower() == hash_.lower():
|
||||||
table[column]['values'][i] += " (%s)" % password
|
table[column]['values'][i] += " (%s)" % password
|
||||||
|
|
Loading…
Reference in New Issue
Block a user