We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ead02d8 + 9d32ea0 commit 669a55fCopy full SHA for 669a55f
1 file changed
nxc/protocols/smb.py
@@ -572,6 +572,9 @@ def check_if_admin(self):
572
self.admin_privs = True
573
except scmr.DCERPCException:
574
self.admin_privs = False
575
+ except Exception as e:
576
+ self.logger.fail(f"Error checking if user is admin on {self.host}: {e}")
577
+ self.admin_privs = False
578
579
def gen_relay_list(self):
580
if self.server_os.lower().find("windows") != -1 and self.signing is False:
0 commit comments