Skip to content

Commit 6fa1382

Browse files
committed
Fix pwned label when brute forcing with guest account enabled
1 parent 754ca2d commit 6fa1382

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/protocols/smb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ def check_if_admin(self):
575575
try:
576576
dce.connect()
577577
except Exception:
578-
pass
578+
self.admin_privs = False
579579
else:
580580
with contextlib.suppress(Exception):
581581
dce.bind(scmr.MSRPC_UUID_SCMR)

0 commit comments

Comments
 (0)