mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
Minor bug fix to --file-read
This commit is contained in:
parent
decab6642d
commit
fbf8e7f32d
|
@ -289,7 +289,10 @@ class Filesystem:
|
|||
|
||||
for chunk in fileContent:
|
||||
if isinstance(chunk, (list, tuple, set)):
|
||||
if len(chunk) > 0:
|
||||
chunk = chunk[0]
|
||||
else:
|
||||
chunk = ""
|
||||
|
||||
newFileContent += chunk
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user