Merge branch 'master' of github.com:sqlmapproject/sqlmap

This commit is contained in:
Bernardo Damele 2013-02-14 11:25:12 +00:00
commit cb6d549e57

View File

@ -339,7 +339,7 @@ def attackCachedUsersPasswords():
for user in kb.data.cachedUsersPasswords.keys(): for user in kb.data.cachedUsersPasswords.keys():
for i in xrange(len(kb.data.cachedUsersPasswords[user])): for i in xrange(len(kb.data.cachedUsersPasswords[user])):
value = kb.data.cachedUsersPasswords[user][i].lower() value = kb.data.cachedUsersPasswords[user][i].lower().split()[0]
if value in lut: 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]) kb.data.cachedUsersPasswords[user][i] += "%s clear-text password: %s" % ('\n' if kb.data.cachedUsersPasswords[user][i][-1] != '\n' else '', lut[value])