fix(hash_spider): fix old db function call for hosts; fixes #221
parent
a9bd576392
commit
934ba6f139
|
@ -146,7 +146,7 @@ class NXCModule:
|
|||
|
||||
@staticmethod
|
||||
def save_credentials(context, connection, domain, username, password, lmhash, nthash):
|
||||
host_id = context.db.get_computers(connection.host)[0][0]
|
||||
host_id = context.db.get_hosts(connection.host)[0][0]
|
||||
if password is not None:
|
||||
credential_type = "plaintext"
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue