Skip to content

Commit

Permalink
Merge pull request #356 from Pennyw0rth/neff-fix-332
Browse files Browse the repository at this point in the history
  • Loading branch information
NeffIsBack authored Jun 24, 2024
2 parents ead02d8 + 9d32ea0 commit 669a55f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nxc/protocols/smb.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,9 @@ def check_if_admin(self):
self.admin_privs = True
except scmr.DCERPCException:
self.admin_privs = False
except Exception as e:
self.logger.fail(f"Error checking if user is admin on {self.host}: {e}")
self.admin_privs = False

def gen_relay_list(self):
if self.server_os.lower().find("windows") != -1 and self.signing is False:
Expand Down

0 comments on commit 669a55f

Please sign in to comment.