From f41ae9cf49455c721425f9522ccd7c33ddd7ce34 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 26 Oct 2011 09:40:47 +0000 Subject: [PATCH] minor update --- lib/utils/hash.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/utils/hash.py b/lib/utils/hash.py index c5f8bf82b..4c6f3dad3 100644 --- a/lib/utils/hash.py +++ b/lib/utils/hash.py @@ -255,6 +255,9 @@ def attackDumpedTable(): isOracle, isMySQL = Backend.isDbms(DBMS.ORACLE), Backend.isDbms(DBMS.MYSQL) if kb.data.dumpedTable: + infoMsg = "analyzing table dump for possible password hashes" + logger.info(infoMsg) + table = kb.data.dumpedTable columns = table.keys() count = table["__infos__"]["count"] @@ -291,7 +294,7 @@ def attackDumpedTable(): if attack_dict: message = "recognized possible password hashes in column%s " % ("s" if len(colPasswords) > 1 else "") - message += "%s. Do you want to " % ", ".join(col for col in colPasswords) + message += "'%s'. Do you want to " % ", ".join(col for col in colPasswords) message += "crack them via a dictionary-based attack? [Y/n/q]" test = readInput(message, default="Y")