From b41ee8d0d0be130381539bc3f3bf2a4bdb8be7ce Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 23 Nov 2010 14:57:36 +0000 Subject: [PATCH] minor refactoring --- lib/utils/hash.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/utils/hash.py b/lib/utils/hash.py index b15d81b0c..398b045cf 100644 --- a/lib/utils/hash.py +++ b/lib/utils/hash.py @@ -290,5 +290,6 @@ def dictionaryAttack(): if kb.data.cachedUsersPasswords[user][i] and hash_.lower() in kb.data.cachedUsersPasswords[user][i].lower(): kb.data.cachedUsersPasswords[user][i] += "%s%spassword: %s" % ('\n' if kb.data.cachedUsersPasswords[user][i][-1] != '\n' else '', blank, password) else: - errMsg = "hash format unrecognized" - logger.error(errMsg) + warnMsg = "unknown hash format. " + warnMsg += "Please report by e-mail to sqlmap-users@lists.sourceforge.net." + logger.warn(warnMsg)