Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a67ef41 + efe1bf0 commit cb6d549Copy full SHA for cb6d549
1 file changed
lib/utils/hash.py
@@ -339,7 +339,7 @@ def attackCachedUsersPasswords():
339
340
for user in kb.data.cachedUsersPasswords.keys():
341
for i in xrange(len(kb.data.cachedUsersPasswords[user])):
342
- value = kb.data.cachedUsersPasswords[user][i].lower()
+ value = kb.data.cachedUsersPasswords[user][i].lower().split()[0]
343
if value in lut:
344
kb.data.cachedUsersPasswords[user][i] += "%s clear-text password: %s" % ('\n' if kb.data.cachedUsersPasswords[user][i][-1] != '\n' else '', lut[value])
345
0 commit comments