From 21d083272e637ca92fa86186c83c9273f69898fe Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 18 Dec 2010 14:31:41 +0000 Subject: [PATCH] minor minor fix --- lib/utils/hash.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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_: