mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Important fix now that the file writing is unescaped too
This commit is contained in:
@@ -164,14 +164,14 @@ class Filesystem:
|
|||||||
if not single:
|
if not single:
|
||||||
fcLength = len(fcEncodedStr)
|
fcLength = len(fcEncodedStr)
|
||||||
|
|
||||||
if fcLength > 1024:
|
if fcLength > 256:
|
||||||
for i in range(0, fcLength, 1024):
|
for i in range(0, fcLength, 256):
|
||||||
string = ""
|
string = ""
|
||||||
|
|
||||||
if encoding == "hex":
|
if encoding == "hex":
|
||||||
string += "0x"
|
string += "0x"
|
||||||
|
|
||||||
string += fcEncodedStr[i:i+1024]
|
string += fcEncodedStr[i:i+256]
|
||||||
|
|
||||||
if encoding == "base64":
|
if encoding == "base64":
|
||||||
string = "'%s'" % string
|
string = "'%s'" % string
|
||||||
|
|||||||
Reference in New Issue
Block a user