From 74e82b2b53e10dcb5e76f4601da9e3d8c98fd04e Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 4 Feb 2013 20:42:28 +0100 Subject: [PATCH] Removing redundant check --- lib/utils/hash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/hash.py b/lib/utils/hash.py index d0c2379e1..ac0721e95 100644 --- a/lib/utils/hash.py +++ b/lib/utils/hash.py @@ -341,7 +341,7 @@ def attackCachedUsersPasswords(): for user in kb.data.cachedUsersPasswords.keys(): for i in xrange(len(kb.data.cachedUsersPasswords[user])): value = kb.data.cachedUsersPasswords[user][i].lower() - if value in lut and "clear-text password" not in value: + if value in lut: kb.data.cachedUsersPasswords[user][i] += "%s clear-text password: %s" % ('\n' if kb.data.cachedUsersPasswords[user][i][-1] != '\n' else '', lut[value]) def attackDumpedTable():