Remove duplicate logic
parent
82d5c9b500
commit
e7dda670d0
|
@ -155,7 +155,6 @@ class CMEModule:
|
|||
credtype = "hash"
|
||||
credential = NThash
|
||||
context.log.highlight(domain + "\\" + username + ":" + credential)
|
||||
credtype = "password" if password else "hash"
|
||||
hostid = context.db.get_computers(connection.host)[0][0]
|
||||
context.db.add_credential(credtype, connection.domain, username, credential, pillaged_from=hostid)
|
||||
if "." not in domain and domain.upper() in connection.domain.upper():
|
||||
|
|
Loading…
Reference in New Issue