mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-27 16:33:22 +03:00
Minor path fix
This commit is contained in:
parent
38a37b89f6
commit
66c9885b96
|
@ -519,7 +519,7 @@ class MySQLMap(Fingerprint, Enumeration, Filesystem, Miscellaneous, Takeover):
|
||||||
# NOTE: specifying the relative path as './udf.dll'
|
# NOTE: specifying the relative path as './udf.dll'
|
||||||
# saves in @@datadir on both MySQL 4.1 and MySQL 5.0
|
# saves in @@datadir on both MySQL 4.1 and MySQL 5.0
|
||||||
self.__datadir = "."
|
self.__datadir = "."
|
||||||
self.__datadir = normalizePath(ntToPosixSlashes(self.__datadir))
|
self.__datadir = ntToPosixSlashes(normalizePath(self.__datadir))
|
||||||
|
|
||||||
if re.search("[\w]\:\/", self.__datadir, re.I):
|
if re.search("[\w]\:\/", self.__datadir, re.I):
|
||||||
kb.os = "Windows"
|
kb.os = "Windows"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user