From aed994192eeb072441f7c760a5fe69da4c09c8d9 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 15 Apr 2011 08:15:21 +0000 Subject: [PATCH] disabling safecharencode for --banner --- plugins/generic/enumeration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/generic/enumeration.py b/plugins/generic/enumeration.py index bae582f5e..a807e50a5 100644 --- a/plugins/generic/enumeration.py +++ b/plugins/generic/enumeration.py @@ -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