From c2058dfc8f2788498acc312abdad93d9de27c105 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 25 Oct 2012 09:42:43 +0200 Subject: [PATCH] Fix for an Issue #220 --- plugins/generic/misc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/generic/misc.py b/plugins/generic/misc.py index 87d7a98f7..1abde80e3 100644 --- a/plugins/generic/misc.py +++ b/plugins/generic/misc.py @@ -14,6 +14,7 @@ from lib.core.common import normalizePath from lib.core.common import ntToPosixSlashes from lib.core.common import posixToNtSlashes from lib.core.common import readInput +from lib.core.common import unArrayizeValue from lib.core.data import conf from lib.core.data import kb from lib.core.data import logger @@ -85,7 +86,7 @@ class Miscellaneous: if conf.direct: query = "SELECT %s" % query - kb.bannerFp["dbmsVersion"] = inject.getValue(query) + kb.bannerFp["dbmsVersion"] = unArrayizeValue(inject.getValue(query)) kb.bannerFp["dbmsVersion"] = (kb.bannerFp["dbmsVersion"] or "").replace(",", "").replace("-", "").replace(" ", "") def delRemoteFile(self, filename):