mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-09 09:52:35 +01:00
proper fix
This commit is contained in:
parent
ad4584da70
commit
457f501bbd
2 changed files with 2 additions and 2 deletions
|
|
@ -254,7 +254,7 @@ class BigArray(list):
|
|||
index = y / BIGARRAY_CHUNK_LENGTH
|
||||
offset = y % BIGARRAY_CHUNK_LENGTH
|
||||
chunk = self.chunks[index]
|
||||
if isinstance(chunk, list) and len(chunk) >= offset:
|
||||
if isinstance(chunk, list):
|
||||
return chunk[offset]
|
||||
else:
|
||||
self._checkcache(index)
|
||||
|
|
|
|||
|
|
@ -278,7 +278,7 @@ def attackDumpedTable():
|
|||
value = table[column]['values'][i]
|
||||
|
||||
if hashRecognition(value, isOracle, isMySQL):
|
||||
if colUser:
|
||||
if colUser and i < len(table[colUser]['values']):
|
||||
if table[colUser]['values'][i] not in attack_dict:
|
||||
attack_dict[table[colUser]['values'][i]] = []
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue