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" ])