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