mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-19 05:56:18 +00:00
Fixing MySQL stacked file reading
This commit is contained in:
parent
2f4ff0d430
commit
0d4aff7e1a
3 changed files with 4 additions and 4 deletions
|
|
@ -79,7 +79,7 @@ class Filesystem(GenericFilesystem):
|
|||
if length > chunkSize:
|
||||
result = []
|
||||
|
||||
for i in xrange(1, length, chunkSize):
|
||||
for i in xrange(1, length + 1, chunkSize):
|
||||
chunk = inject.getValue("SELECT MID(%s, %d, %d) FROM %s" % (self.tblField, i, chunkSize, self.fileTblName), unpack=False, resumeValue=False, charsetType=CHARSET_TYPE.HEXADECIMAL)
|
||||
result.append(chunk)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue