mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
Important fix now that the file writing is unescaped too
This commit is contained in:
parent
f0f5d3d3e8
commit
008d434325
|
@ -164,14 +164,14 @@ class Filesystem:
|
|||
if not single:
|
||||
fcLength = len(fcEncodedStr)
|
||||
|
||||
if fcLength > 1024:
|
||||
for i in range(0, fcLength, 1024):
|
||||
if fcLength > 256:
|
||||
for i in range(0, fcLength, 256):
|
||||
string = ""
|
||||
|
||||
if encoding == "hex":
|
||||
string += "0x"
|
||||
|
||||
string += fcEncodedStr[i:i+1024]
|
||||
string += fcEncodedStr[i:i+256]
|
||||
|
||||
if encoding == "base64":
|
||||
string = "'%s'" % string
|
||||
|
|
Loading…
Reference in New Issue
Block a user