fix(smb): --users display off by one :)
parent
e5bba812e8
commit
b0ec4b7951
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue