mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
Fixes #1608
This commit is contained in:
@@ -60,7 +60,7 @@ class Takeover(GenericTakeover):
|
||||
else:
|
||||
self.__plugindir = "%s/lib/mysql/plugin" % self.__basedir
|
||||
|
||||
self.__plugindir = ntToPosixSlashes(normalizePath(self.__plugindir))
|
||||
self.__plugindir = ntToPosixSlashes(normalizePath(self.__plugindir)) or '.'
|
||||
|
||||
self.udfRemoteFile = "%s/%s.%s" % (self.__plugindir, self.udfSharedLibName, self.udfSharedLibExt)
|
||||
|
||||
@@ -74,7 +74,7 @@ class Takeover(GenericTakeover):
|
||||
|
||||
# NOTE: specifying the relative path as './udf.dll'
|
||||
# saves in @@datadir on both MySQL 4.1 and MySQL 5.0
|
||||
self.__datadir = "."
|
||||
self.__datadir = '.'
|
||||
self.__datadir = ntToPosixSlashes(normalizePath(self.__datadir))
|
||||
|
||||
# The DLL can be in either C:\WINDOWS, C:\WINDOWS\system,
|
||||
|
||||
Reference in New Issue
Block a user