mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-09 08:00:36 +03:00
Minor fix
This commit is contained in:
parent
cbb5c79d29
commit
8138d1318e
|
@ -317,9 +317,8 @@ def storeHashesToFile(attack_dict):
|
|||
with open(filename, "w+") as f:
|
||||
for user, hashes in attack_dict.items():
|
||||
for hash_ in hashes:
|
||||
if not hash_ or hash_ == NULL or not hashRecognition(hash_):
|
||||
continue
|
||||
|
||||
hash_ = hash_.split()[0] if hash_ else hash_
|
||||
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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user