Skip to content

Commit 85b2b6e

Browse files
committed
Add --use-kcache to commands that require a new conn object
1 parent 7070305 commit 85b2b6e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/protocols/smb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def enum_host_info(self):
303303
self.logger.info(f"Resolved domain: {self.domain} with dns, kdcHost: {self.kdcHost}")
304304

305305
# If we want to authenticate we should create another connection object, because we already logged in
306-
if self.args.username or self.args.cred_id or self.kerberos:
306+
if self.args.username or self.args.cred_id or self.kerberos or self.args.use_kcache:
307307
self.create_conn_obj()
308308

309309
def print_host_info(self):

0 commit comments

Comments
 (0)