mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
modification of temporary directory from C:/Windows/Temp to %TEMP%
This commit is contained in:
parent
2fdac83607
commit
2323d858a9
3 changed files with 3 additions and 3 deletions
|
|
@ -211,7 +211,7 @@ class Filesystem:
|
|||
|
||||
for scrLine in fileScrLines:
|
||||
forgedScrLine = "echo %s " % scrLine
|
||||
forgedScrLine += ">> %s\%s" % (tmpPath, randScr)
|
||||
forgedScrLine += ">> \"%s\%s\"" % (tmpPath, randScr)
|
||||
forgedScrLines.append(forgedScrLine)
|
||||
|
||||
for forgedScrLine in forgedScrLines:
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ class Miscellaneous:
|
|||
#logger.info(infoMsg)
|
||||
#
|
||||
#conf.tmpPath = self.evalCmd("echo %TEMP%")
|
||||
conf.tmpPath = "C:/WINDOWS/Temp"
|
||||
conf.tmpPath = "%TEMP%"
|
||||
else:
|
||||
conf.tmpPath = "/tmp"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue