From e3ba6de497986bf7b75daeca3f6231a5ad8478d5 Mon Sep 17 00:00:00 2001 From: mpgn Date: Sun, 14 Nov 2021 12:22:44 -0500 Subject: [PATCH] Improve output module handlekatz and nanodump --- cme/modules/handlekatz.py | 2 +- cme/modules/nanodump.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cme/modules/handlekatz.py b/cme/modules/handlekatz.py index 0ce915ab..2aea4757 100644 --- a/cme/modules/handlekatz.py +++ b/cme/modules/handlekatz.py @@ -53,7 +53,7 @@ class CMEModule: with open(self.handlekatz_path + self.handlekatz, 'wb') as handlekatz: handlekatz.write(self.handlekatz_embeded) - context.log.info('Copy {} to {}'.format(self.handlekatz_path, self.tmp_dir)) + context.log.info('Copy {} to {}'.format(self.handlekatz_path + self.handlekatz, self.tmp_dir)) with open(self.handlekatz_path + self.handlekatz, 'rb') as handlekatz: try: connection.conn.putFile(self.share, self.tmp_share + self.handlekatz, handlekatz.read) diff --git a/cme/modules/nanodump.py b/cme/modules/nanodump.py index fb71ac9d..67548f97 100644 --- a/cme/modules/nanodump.py +++ b/cme/modules/nanodump.py @@ -53,7 +53,7 @@ class CMEModule: with open(self.nano_path + self.nano, 'wb') as nano: nano.write(self.nano_embeded) - context.log.info('Copy {} to {}'.format(self.nano_path, self.tmp_dir)) + context.log.info('Copy {} to {}'.format(self.nano_path + self.nano, self.tmp_dir)) with open(self.nano_path + self.nano, 'rb') as nano: try: connection.conn.putFile(self.share, self.tmp_share + self.nano, nano.read)