diff --git a/lib/utils/hash.py b/lib/utils/hash.py index f8a8c45a2..1ac545718 100644 --- a/lib/utils/hash.py +++ b/lib/utils/hash.py @@ -769,9 +769,9 @@ def dictionaryAttack(attack_dict): kb.wordlists = dictPaths - except SqlmapFilePathException, msg: + except Exception, ex: warnMsg = "there was a problem while loading dictionaries" - warnMsg += " ('%s')" % msg + warnMsg += " ('%s')" % ex logger.critical(warnMsg) message = "do you want to use common password suffixes? (slow!) [y/N] "