mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Major bug fix, be careful when editing isWindowsPath() and normalizePath() in common.py, they can break all
This commit is contained in:
parent
66c9885b96
commit
8c68d25b39
2 changed files with 9 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue