From 56965e3608981d9d8434f12bf83cd693d6bd90b1 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 4 Dec 2014 13:36:41 +0100 Subject: [PATCH] Patch for an Issue #990 --- lib/utils/hash.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils/hash.py b/lib/utils/hash.py index 709bcd281..a657f4fee 100644 --- a/lib/utils/hash.py +++ b/lib/utils/hash.py @@ -840,7 +840,7 @@ def dictionaryAttack(attack_dict): try: process.terminate() process.join() - except OSError: + except (OSError, AttributeError): pass finally: @@ -934,7 +934,7 @@ def dictionaryAttack(attack_dict): try: process.terminate() process.join() - except OSError: + except (OSError, AttributeError): pass finally: