From efb510d49b46a2b9581242c7f5445f86fdfae974 Mon Sep 17 00:00:00 2001 From: Alex <61382599+NeffIsBack@users.noreply.github.com> Date: Thu, 28 Sep 2023 00:32:00 +0200 Subject: [PATCH] Fix #48 tries to falsly add creds to bloodhound using --laps --- nxc/protocols/smb.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nxc/protocols/smb.py b/nxc/protocols/smb.py index d1bd716b..2f1c760f 100755 --- a/nxc/protocols/smb.py +++ b/nxc/protocols/smb.py @@ -356,6 +356,7 @@ class smb(connection): hash_ntlm = hashlib.new("md4", msMCSAdmPwd.encode("utf-16le")).digest() self.hash = binascii.hexlify(hash_ntlm).decode() + self.args.local_auth = True self.domain = self.hostname self.logger.extra["protocol"] = "SMB" self.logger.extra["port"] = "445"