diff --git a/data/xml/queries.xml b/data/xml/queries.xml index d7ae78238..a9120e064 100644 --- a/data/xml/queries.xml +++ b/data/xml/queries.xml @@ -128,7 +128,7 @@ - + diff --git a/lib/core/settings.py b/lib/core/settings.py index 823f60f66..c75585389 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from thirdparty import six from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.5.8.0" +VERSION = "1.5.8.1" 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 38b853063..6a431ffdc 100644 --- a/lib/utils/hash.py +++ b/lib/utils/hash.py @@ -636,7 +636,10 @@ def storeHashesToFile(attack_dict): with openFile(filename, "w+") as f: for item in items: - f.write(item) + try: + f.write(item) + except (UnicodeError, TypeError): + pass def attackCachedUsersPasswords(): if kb.data.cachedUsersPasswords: