fix for using --banner --stacked-test together

This commit is contained in:
Miroslav Stampar 2010-10-29 15:31:24 +00:00
parent a0df231aa4
commit a921fe0d5d

View File

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