We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 991cafc commit a1842f4Copy full SHA for a1842f4
1 file changed
lib/utils/hash.py
@@ -370,7 +370,7 @@ def storeHashesToFile(attack_dict):
370
with open(filename, "w+") as f:
371
for user, hashes in attack_dict.items():
372
for hash_ in hashes:
373
- hash_ = hash_.split()[0] if hash_ else hash_
+ hash_ = hash_.split()[0] if hash_ and hash_.strip() else hash_
374
if hash_ and hash_ != NULL and hashRecognition(hash_):
375
item = None
376
if user and not user.startswith(DUMMY_USER_PREFIX):
0 commit comments