From 6fa13820dc760df9ff9b5489cfd7e66ef95e4023 Mon Sep 17 00:00:00 2001 From: Alexander Neff Date: Fri, 4 Oct 2024 16:22:37 -0400 Subject: [PATCH] Fix pwned label when brute forcing with guest account enabled --- nxc/protocols/smb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nxc/protocols/smb.py b/nxc/protocols/smb.py index 941eb8d21..ec82cac7c 100755 --- a/nxc/protocols/smb.py +++ b/nxc/protocols/smb.py @@ -575,7 +575,7 @@ def check_if_admin(self): try: dce.connect() except Exception: - pass + self.admin_privs = False else: with contextlib.suppress(Exception): dce.bind(scmr.MSRPC_UUID_SCMR)