fix(hash_spider): fix old db function call for hosts; fixes #221

main
Marshall Hallenbeck 2024-03-22 14:51:41 -04:00 committed by Marshall Hallenbeck
parent a9bd576392
commit 934ba6f139
1 changed files with 1 additions and 1 deletions

View File

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