From a1842f44f503c51043f0073c03893c87c3824c83 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 29 Jun 2013 20:55:48 +0200 Subject: [PATCH] Fix for an Issue #477 --- lib/utils/hash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/hash.py b/lib/utils/hash.py index f71c02a1f..1f7555a86 100644 --- a/lib/utils/hash.py +++ b/lib/utils/hash.py @@ -370,7 +370,7 @@ def storeHashesToFile(attack_dict): with open(filename, "w+") as f: for user, hashes in attack_dict.items(): for hash_ in hashes: - hash_ = hash_.split()[0] if hash_ else hash_ + hash_ = hash_.split()[0] if hash_ and hash_.strip() else hash_ if hash_ and hash_ != NULL and hashRecognition(hash_): item = None if user and not user.startswith(DUMMY_USER_PREFIX):