From b0ec4b79510e7d128163a464c678517536d44036 Mon Sep 17 00:00:00 2001 From: Marshall Hallenbeck Date: Thu, 21 Mar 2024 20:16:43 -0400 Subject: [PATCH] fix(smb): --users display off by one :) --- nxc/protocols/smb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nxc/protocols/smb.py b/nxc/protocols/smb.py index cc3e5faa..54b52a46 100755 --- a/nxc/protocols/smb.py +++ b/nxc/protocols/smb.py @@ -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")