From 9a7d9a601745eec5930e69ba054a44ee452b7052 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 31 May 2019 23:32:28 +0200 Subject: [PATCH] Couple of patches (related to previous commit) --- lib/core/convert.py | 6 +++--- lib/core/settings.py | 2 +- lib/utils/hash.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/core/convert.py b/lib/core/convert.py index 5ce6d41a2..a8cdfe1c2 100644 --- a/lib/core/convert.py +++ b/lib/core/convert.py @@ -75,8 +75,8 @@ def htmlUnescape(value): """ Returns (basic conversion) HTML unescaped value - >>> htmlUnescape('a<b') - 'a>> htmlUnescape('a<b') == 'a...) -VERSION = "1.3.5.159" +VERSION = "1.3.5.160" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) diff --git a/lib/utils/hash.py b/lib/utils/hash.py index 74c8aeecc..96217fb49 100644 --- a/lib/utils/hash.py +++ b/lib/utils/hash.py @@ -668,7 +668,7 @@ def attackDumpedTable(): value = table[column]["values"][i] if column in binary_fields and re.search(HASH_BINARY_COLUMNS_REGEX, column) is not None: - value = encodeHex(value, binary=False) + value = encodeHex(getBytes(value), binary=False) if hashRecognition(value): found = True