Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 74e82b2

Browse files
committed
Removing redundant check
1 parent cf8e5d5 commit 74e82b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/utils/hash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def attackCachedUsersPasswords():
341341
for user in kb.data.cachedUsersPasswords.keys():
342342
for i in xrange(len(kb.data.cachedUsersPasswords[user])):
343343
value = kb.data.cachedUsersPasswords[user][i].lower()
344-
if value in lut and "clear-text password" not in value:
344+
if value in lut:
345345
kb.data.cachedUsersPasswords[user][i] += "%s clear-text password: %s" % ('\n' if kb.data.cachedUsersPasswords[user][i][-1] != '\n' else '', lut[value])
346346

347347
def attackDumpedTable():

0 commit comments

Comments
 (0)