mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
proper fix
This commit is contained in:
parent
ad4584da70
commit
457f501bbd
|
@ -254,7 +254,7 @@ class BigArray(list):
|
||||||
index = y / BIGARRAY_CHUNK_LENGTH
|
index = y / BIGARRAY_CHUNK_LENGTH
|
||||||
offset = y % BIGARRAY_CHUNK_LENGTH
|
offset = y % BIGARRAY_CHUNK_LENGTH
|
||||||
chunk = self.chunks[index]
|
chunk = self.chunks[index]
|
||||||
if isinstance(chunk, list) and len(chunk) >= offset:
|
if isinstance(chunk, list):
|
||||||
return chunk[offset]
|
return chunk[offset]
|
||||||
else:
|
else:
|
||||||
self._checkcache(index)
|
self._checkcache(index)
|
||||||
|
|
|
@ -278,7 +278,7 @@ def attackDumpedTable():
|
||||||
value = table[column]['values'][i]
|
value = table[column]['values'][i]
|
||||||
|
|
||||||
if hashRecognition(value, isOracle, isMySQL):
|
if hashRecognition(value, isOracle, isMySQL):
|
||||||
if colUser:
|
if colUser and i < len(table[colUser]['values']):
|
||||||
if table[colUser]['values'][i] not in attack_dict:
|
if table[colUser]['values'][i] not in attack_dict:
|
||||||
attack_dict[table[colUser]['values'][i]] = []
|
attack_dict[table[colUser]['values'][i]] = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user