mirror of
https://github.com/sqlmapproject/sqlmap
synced 2026-01-29 19:41:22 +01:00
This %TEMP% is a mere cause of problems (e.g. --os-cmd in MSSQL the BULK INSERT with '%TEMP%\foo' does not work), stick with C:/WINDOWS/Temp
This commit is contained in:
parent
4ba22b5098
commit
1387ed0c25
1 changed files with 1 additions and 4 deletions
|
|
@ -51,10 +51,7 @@ class Miscellaneous:
|
|||
def getRemoteTempPath(self):
|
||||
if not conf.tmpPath:
|
||||
if kb.os == "Windows":
|
||||
if kb.dbms == "Microsoft SQL Server":
|
||||
conf.tmpPath = "%TEMP%"
|
||||
else:
|
||||
conf.tmpPath = "C:/WINDOWS/Temp"
|
||||
conf.tmpPath = "C:/WINDOWS/Temp"
|
||||
else:
|
||||
conf.tmpPath = "/tmp"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue