mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Fixing MsSQL stacked file write
This commit is contained in:
parent
0d4aff7e1a
commit
a20f930844
3 changed files with 4 additions and 3 deletions
|
|
@ -336,6 +336,7 @@ class Filesystem(GenericFilesystem):
|
|||
# NOTE: https://github.com/sqlmapproject/sqlmap/issues/5581
|
||||
vbs = codecs.decode(vbs, "rot13")
|
||||
vbs = vbs.replace(" ", "")
|
||||
vbs = vbs % (randFilePath, remoteFile)
|
||||
encodedFileContent = encodeBase64(localFileContent, binary=False)
|
||||
|
||||
logger.debug("uploading the file base64-encoded content to %s, please wait.." % randFilePath)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue