mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-03 19:55:47 +03:00
Fixes #3664
This commit is contained in:
parent
c03d6d71f8
commit
b3cbb4d921
|
@ -18,7 +18,7 @@ from lib.core.enums import OS
|
||||||
from thirdparty import six
|
from thirdparty import six
|
||||||
|
|
||||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
# 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 = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
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)
|
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||||
|
|
|
@ -578,9 +578,9 @@ def storeHashesToFile(attack_dict):
|
||||||
if hash_ and hash_ != NULL and hashRecognition(hash_):
|
if hash_ and hash_ != NULL and hashRecognition(hash_):
|
||||||
item = None
|
item = None
|
||||||
if user and not user.startswith(DUMMY_USER_PREFIX):
|
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:
|
else:
|
||||||
item = "%s\n" % hash_.encode(UNICODE_ENCODING)
|
item = "%s\n" % hash_
|
||||||
|
|
||||||
if item and item not in items:
|
if item and item not in items:
|
||||||
items.add(item)
|
items.add(item)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user