diff --git a/lib/utils/hash.py b/lib/utils/hash.py index 365c39af1..fcb7b8adf 100644 --- a/lib/utils/hash.py +++ b/lib/utils/hash.py @@ -192,8 +192,6 @@ __functions__ = { def dictionaryAttack(): hash_regexes = [] - attack_info = [] - results = [] wordlist = [] for (_, hashes) in kb.data.cachedUsersPasswords.items(): @@ -219,6 +217,9 @@ def dictionaryAttack(): for hash_regex in hash_regexes: + attack_info = [] + results = [] + for (user, hashes) in kb.data.cachedUsersPasswords.items(): for hash_ in hashes: if not hash_: