From 55b23e78ee15eae2ac1014c17d1f9a9ffda7af9e Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 12 Apr 2016 22:10:26 +0200 Subject: [PATCH] Fixes #1809 --- lib/core/settings.py | 2 +- lib/utils/hash.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 2a9bf05f9..067fa0568 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -VERSION = "1.0.4.15" +VERSION = "1.0.4.16" 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 8ee43253b..cc3acda56 100644 --- a/lib/utils/hash.py +++ b/lib/utils/hash.py @@ -45,6 +45,7 @@ from lib.core.common import dataToStdout from lib.core.common import getFileItems from lib.core.common import getPublicTypeMembers from lib.core.common import getSafeExString +from lib.core.common import getUnicode from lib.core.common import hashDBRetrieve from lib.core.common import hashDBWrite from lib.core.common import normalizeUnicode @@ -490,7 +491,7 @@ def attackDumpedTable(): for (_, hash_, password) in results: if hash_: - lut[hash_.lower()] = password + lut[hash_.lower()] = getUnicode(password) infoMsg = "postprocessing table dump" logger.info(infoMsg)