Skip to content

Commit

Permalink
fix(smb): --users display off by one :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marshall-Hallenbeck committed Mar 22, 2024
1 parent e5bba81 commit b0ec4b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nxc/protocols/smb.py
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ def groups(self):
return groups

def users(self):
if len(self.args.users) > 1:
if len(self.args.users) > 0:
self.logger.display(f"Dumping users: {', '.join(self.args.users)}")
else:
self.logger.info("Trying to dump local users with SAMRPC protocol")
Expand Down

0 comments on commit b0ec4b7

Please sign in to comment.