mirror of
https://github.com/Pennyw0rth/NetExec
synced 2026-06-06 16:34:30 +00:00
fix(smb): --users display off by one :)
This commit is contained in:
@@ -1000,7 +1000,7 @@ class smb(connection):
|
||||
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")
|
||||
|
||||
Reference in New Issue
Block a user