diff --git a/lib/utils/hash.py b/lib/utils/hash.py index c29e7b611..6358f9302 100644 --- a/lib/utils/hash.py +++ b/lib/utils/hash.py @@ -507,8 +507,8 @@ def _bruteProcessVariantA(attack_info, hash_regex, suffix, retVal, proc_id, proc except (UnicodeEncodeError, UnicodeDecodeError): pass # ignore possible encoding problems caused by some words in custom dictionaries - except: - warnMsg = "there was a problem while hashing entry: %s. " % repr(word) + except Exception, e: + warnMsg = "there was a problem while hashing entry: %s (%s). " % (repr(word), e) warnMsg += "Please report by e-mail to %s" % ML logger.critical(warnMsg)