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: