From 38a37b89f6ef706ecc7d88a32c21e2ffd8434225 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 26 Feb 2010 11:07:23 +0000 Subject: [PATCH] fix for those slashes --- plugins/dbms/mysql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dbms/mysql.py b/plugins/dbms/mysql.py index eda4cb278..7573ade33 100644 --- a/plugins/dbms/mysql.py +++ b/plugins/dbms/mysql.py @@ -498,7 +498,7 @@ class MySQLMap(Fingerprint, Enumeration, Filesystem, Miscellaneous, Takeover): # Reference: http://dev.mysql.com/doc/refman/5.1/en/server-options.html#option_mysqld_basedir self.__basedir = inject.getValue("SELECT @@basedir") - self.__basedir = normalizePath(ntToPosixSlashes(self.__basedir)) + self.__basedir = ntToPosixSlashes(normalizePath(self.__basedir)) if re.search("^[\w]\:[\/\\\\]+", self.__basedir, re.I): kb.os = "Windows"