Remove duplicate logic

main
Dimitri Lesy 2022-06-24 01:28:59 +02:00
parent 82d5c9b500
commit e7dda670d0
1 changed files with 0 additions and 1 deletions

View File

@ -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():