From 7d011bc811f0c878c879f15d0222e1a4bbf0451e Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 17 Jun 2016 17:07:44 +0200 Subject: [PATCH] Fixes #1964 --- lib/core/settings.py | 2 +- lib/utils/hash.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index d5eb0cb76..0cd93fbff 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -VERSION = "1.0.6.41" +VERSION = "1.0.6.42" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev") diff --git a/lib/utils/hash.py b/lib/utils/hash.py index 98809d863..9f2af6c7e 100644 --- a/lib/utils/hash.py +++ b/lib/utils/hash.py @@ -494,7 +494,7 @@ def attackDumpedTable(): for (_, hash_, password) in results: if hash_: - lut[hash_.lower()] = getUnicode(password) + lut[hash_.lower()] = password infoMsg = "postprocessing table dump" logger.info(infoMsg) @@ -505,7 +505,7 @@ def attackDumpedTable(): value = table[column]['values'][i] if value and value.lower() in lut: - table[column]['values'][i] += " (%s)" % lut[value.lower()] + table[column]['values'][i] = "%s (%s)" % (getUnicode(table[column]['values'][i]), getUnicode(lut[value.lower()])) table[column]['length'] = max(table[column]['length'], len(table[column]['values'][i])) def hashRecognition(value):