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