From a921fe0d5d35c23a4589a3f5b4532dda91518181 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 29 Oct 2010 15:31:24 +0000 Subject: [PATCH] fix for using --banner --stacked-test together --- plugins/generic/enumeration.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/generic/enumeration.py b/plugins/generic/enumeration.py index e49515682..0154fa9a0 100644 --- a/plugins/generic/enumeration.py +++ b/plugins/generic/enumeration.py @@ -82,6 +82,9 @@ class Enumeration: kb.data.banner = inject.getValue(query) bannerParser(kb.data.banner) + kb.bannerFp["dbmsVersion"] = kb.data.banner + kb.bannerFp["dbmsVersion"] = kb.bannerFp["dbmsVersion"].replace(",", "").replace("-", "").replace(" ", "") + if conf.os and conf.os == "windows": kb.bannerFp["type"] = set([ "Windows" ])