Skip to content

Commit 9196c32

Browse files
committed
Fix pfx output path on windows
1 parent c34c581 commit 9196c32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/helpers/pfx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ def pfx_auth(self):
503503
return None
504504

505505
username = self.args.username[0]
506-
log_ccache = os.path.expanduser(f"{NXC_PATH}/logs/{self.hostname}_{self.host}_{datetime.datetime.now().strftime('%Y-%m-%d_%H%M%S')}-{username}.ccache".replace(":", "-"))
506+
log_ccache = os.path.normpath(os.path.expanduser(f"{NXC_PATH}/logs/{self.hostname}_{self.host}_{datetime.datetime.now().strftime('%Y-%m-%d_%H%M%S')}-{username}.ccache".replace(":", "-")))
507507

508508
# Request a TGT with the cert data
509509
req = ini.build_asreq(self.domain, username)

0 commit comments

Comments
 (0)