fix(smb): --users display off by one :)
parent
e5bba812e8
commit
b0ec4b7951
|
@ -1000,7 +1000,7 @@ class smb(connection):
|
||||||
return groups
|
return groups
|
||||||
|
|
||||||
def users(self):
|
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)}")
|
self.logger.display(f"Dumping users: {', '.join(self.args.users)}")
|
||||||
else:
|
else:
|
||||||
self.logger.info("Trying to dump local users with SAMRPC protocol")
|
self.logger.info("Trying to dump local users with SAMRPC protocol")
|
||||||
|
|
Loading…
Reference in New Issue