Skip to content

Commit 092a14f

Browse files
authored
Merge pull request Pennyw0rth#434 from Pennyw0rth/neff-fix-pwned-label
Fix pwned label when brute forcing with guest account enabled
2 parents 754ca2d + 6fa1382 commit 092a14f

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)