This commit is contained in:
Miroslav Stampar 2016-06-17 17:07:44 +02:00
parent b2c4a3b247
commit 7d011bc811
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ from lib.core.enums import OS
from lib.core.revision import getRevisionNumber from lib.core.revision import getRevisionNumber
# sqlmap version (<major>.<minor>.<month>.<monthly commit>) # sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.0.6.41" VERSION = "1.0.6.42"
REVISION = getRevisionNumber() REVISION = getRevisionNumber()
STABLE = VERSION.count('.') <= 2 STABLE = VERSION.count('.') <= 2
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev") VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

View File

@ -494,7 +494,7 @@ def attackDumpedTable():
for (_, hash_, password) in results: for (_, hash_, password) in results:
if hash_: if hash_:
lut[hash_.lower()] = getUnicode(password) lut[hash_.lower()] = password
infoMsg = "postprocessing table dump" infoMsg = "postprocessing table dump"
logger.info(infoMsg) logger.info(infoMsg)
@ -505,7 +505,7 @@ def attackDumpedTable():
value = table[column]['values'][i] value = table[column]['values'][i]
if value and value.lower() in lut: 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])) table[column]['length'] = max(table[column]['length'], len(table[column]['values'][i]))
def hashRecognition(value): def hashRecognition(value):