diff --git a/lib/utils/hash.py b/lib/utils/hash.py index 6a8cb788e..b2d427161 100644 --- a/lib/utils/hash.py +++ b/lib/utils/hash.py @@ -387,4 +387,8 @@ def dictionaryAttack(attack_dict): warnMsg += "Please report by e-mail to sqlmap-users@lists.sourceforge.net." logger.warn(warnMsg) + if len(results) == 0: + warnMsg = "no clear password(s) found" + logger.warn(warnMsg) + return results