This commit is contained in:
Miroslav Stampar 2019-05-15 00:03:17 +02:00
parent c03d6d71f8
commit b3cbb4d921
2 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ from lib.core.enums import OS
from thirdparty import six
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.3.5.89"
VERSION = "1.3.5.90"
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)

View File

@ -578,9 +578,9 @@ def storeHashesToFile(attack_dict):
if hash_ and hash_ != NULL and hashRecognition(hash_):
item = None
if user and not user.startswith(DUMMY_USER_PREFIX):
item = "%s:%s\n" % (user.encode(UNICODE_ENCODING), hash_.encode(UNICODE_ENCODING))
item = "%s:%s\n" % (user, hash_)
else:
item = "%s\n" % hash_.encode(UNICODE_ENCODING)
item = "%s\n" % hash_
if item and item not in items:
items.add(item)