From f0306af58dd7fdd7ec53b623961ef79fe460fccc Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 1 Jun 2019 09:17:21 +0200 Subject: [PATCH] Fixes #3732 --- lib/core/settings.py | 2 +- lib/utils/hash.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index aada5b9dd..a94808fd4 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.3.5.164" +VERSION = "1.3.6.0" 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 fd2695d75..3b1886130 100644 --- a/lib/utils/hash.py +++ b/lib/utils/hash.py @@ -645,8 +645,8 @@ def attackDumpedTable(): break for column in columns: - if column != "__infos__": - if all(INVALID_UNICODE_CHAR_FORMAT.split('%')[0] in value for value in table[column]["values"]): + if column != "__infos__" and table[column]["values"]: + if all(INVALID_UNICODE_CHAR_FORMAT.split('%')[0] in (value or "") for value in table[column]["values"]): binary_fields.add(column) if binary_fields: