From c8f8dbf0a77f991813629809d9f303e4e92d3f41 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 27 Dec 2010 15:39:27 +0000 Subject: [PATCH] minor update --- lib/utils/hash.py | 4 ++++ 1 file changed, 4 insertions(+) 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