mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
code refactoring regarding path normalization
This commit is contained in:
parent
dbd52c52e4
commit
d291464cd4
4 changed files with 25 additions and 22 deletions
|
|
@ -25,6 +25,7 @@ Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
import os
|
||||
import re
|
||||
|
||||
from lib.core.common import normalizePath
|
||||
from lib.core.common import ntToPosixSlashes
|
||||
from lib.core.common import posixToNtSlashes
|
||||
from lib.core.common import readInput
|
||||
|
|
@ -68,7 +69,7 @@ class Miscellaneous:
|
|||
kb.os = "Windows"
|
||||
|
||||
conf.tmpPath = ntToPosixSlashes(conf.tmpPath)
|
||||
conf.tmpPath = os.path.normpath(conf.tmpPath)
|
||||
conf.tmpPath = normalizePath(conf.tmpPath)
|
||||
|
||||
setRemoteTempPath()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue