Bug fix related to properly identify and parse the version from the banner (used for --stacked-test and other matters on MySQL/PgSQL)

This commit is contained in:
Bernardo Damele
2010-11-12 11:33:11 +00:00
parent 8cec75656c
commit a34c1b287c
2 changed files with 2 additions and 6 deletions

View File

@@ -88,9 +88,6 @@ class Enumeration:
kb.data.banner = inject.getValue(query)
bannerParser(kb.data.banner)
if kb.data.banner:
kb.bannerFp["dbmsVersion"] = kb.data.banner.replace(",", "").replace("-", "").replace(" ", "")
if conf.os and conf.os == "windows":
kb.bannerFp["type"] = set([ "Windows" ])