disabling safecharencode for --banner

This commit is contained in:
Miroslav Stampar 2011-04-15 08:15:21 +00:00
parent 3efd9e3959
commit aed994192e

View File

@ -98,7 +98,7 @@ class Enumeration:
logger.info(infoMsg)
query = queries[Backend.getIdentifiedDbms()].banner.query
kb.data.banner = unArrayizeValue(inject.getValue(query))
kb.data.banner = unArrayizeValue(inject.getValue(query, safeCharEncode=False))
bannerParser(kb.data.banner)
if conf.os and conf.os == "windows":
@ -133,7 +133,7 @@ class Enumeration:
query = queries[Backend.getIdentifiedDbms()].current_db.query
if not kb.data.currentDb:
kb.data.currentDb = unArrayizeValue(inject.getValue(query))
kb.data.currentDb = unArrayizeValue(inject.getValue(query, safeCharEncode=False))
return kb.data.currentDb