mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-15 04:09:02 +00:00
Major bug fix, be careful when editing isWindowsPath() and normalizePath() in common.py, they can break all
This commit is contained in:
@@ -65,7 +65,7 @@ class Miscellaneous:
|
||||
else:
|
||||
conf.tmpPath = "/tmp"
|
||||
|
||||
if re.search("^[\w]\:[\/\\\\]+", conf.tmpPath, re.I):
|
||||
if re.search("\A[\w]:[\/\\\\]+", conf.tmpPath, re.I):
|
||||
kb.os = "Windows"
|
||||
|
||||
conf.tmpPath = ntToPosixSlashes(conf.tmpPath)
|
||||
|
||||
Reference in New Issue
Block a user