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):