fix(smb): --users display off by one :)

This commit is contained in:
Marshall Hallenbeck
2024-03-21 20:16:43 -04:00
parent e5bba812e8
commit b0ec4b7951
+1 -1
View File
@@ -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")