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

Skip to content

Commit cb6d549

Browse files
committed
Merge branch 'master' of github.com:sqlmapproject/sqlmap
2 parents a67ef41 + efe1bf0 commit cb6d549

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
@@ -339,7 +339,7 @@ def attackCachedUsersPasswords():
339339

340340
for user in kb.data.cachedUsersPasswords.keys():
341341
for i in xrange(len(kb.data.cachedUsersPasswords[user])):
342-
value = kb.data.cachedUsersPasswords[user][i].lower()
342+
value = kb.data.cachedUsersPasswords[user][i].lower().split()[0]
343343
if value in lut:
344344
kb.data.cachedUsersPasswords[user][i] += "%s clear-text password: %s" % ('\n' if kb.data.cachedUsersPasswords[user][i][-1] != '\n' else '', lut[value])
345345

0 commit comments

Comments
 (0)