mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
bug fix for --os-shell on Windows (echo ... > requires double quotes if the piped filename contains whitespace, otherwise doesn't hurt)
This commit is contained in:
parent
35fa214a1e
commit
edeb4b6113
|
@ -114,7 +114,7 @@ class xp_cmdshell:
|
|||
self.getRemoteTempPath()
|
||||
|
||||
tmpFile = "%s/tmpc%s.txt" % (conf.tmpPath, randomStr(lowercase=True))
|
||||
cmd = "%s > %s" % (cmd, tmpFile)
|
||||
cmd = "%s > \"%s\"" % (cmd, tmpFile)
|
||||
|
||||
self.xpCmdshellExecCmd(cmd)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user