From 934ba6f139dba22c397a32201ca925782cc20487 Mon Sep 17 00:00:00 2001 From: Marshall Hallenbeck Date: Fri, 22 Mar 2024 14:51:41 -0400 Subject: [PATCH] fix(hash_spider): fix old db function call for hosts; fixes #221 --- nxc/modules/hash_spider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nxc/modules/hash_spider.py b/nxc/modules/hash_spider.py index 9eb25524..6d3739ab 100644 --- a/nxc/modules/hash_spider.py +++ b/nxc/modules/hash_spider.py @@ -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: