mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-11-11 04:41:38 -10:00
minor refactoring
This commit is contained in:
1 parent
aa5d038f18
commit
b41ee8d0d0
1 file changed
+3
-2
+3
-2
@@ -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 [email protected]."
|
||||
logger.warn(warnMsg)
|
||||
Reference in new issue
Block a user