fix rdcman module
parent
8ee82e7847
commit
53b745b1b2
|
@ -92,8 +92,8 @@ class CMEModule:
|
|||
context.log.debug("Could not upgrade connection: {}".format(e))
|
||||
return
|
||||
|
||||
plaintexts = {username:password for _, _, username, password, _,_ in context.db.get_credentials(credtype="plaintext")}
|
||||
nthashes = {username:nt.split(':')[1] if ':' in nt else nt for _, _, username, nt, _,_ in context.db.get_credentials(credtype="hash")}
|
||||
plaintexts = {username:password for _, _, username, password, _,_ in context.db.get_credentials(cred_type="plaintext")}
|
||||
nthashes = {username:nt.split(':')[1] if ':' in nt else nt for _, _, username, nt, _,_ in context.db.get_credentials(cred_type="hash")}
|
||||
if password != '':
|
||||
plaintexts[username] = password
|
||||
if nthash != '':
|
||||
|
|
Loading…
Reference in New Issue