Improve output module handlekatz and nanodump

main
mpgn 2021-11-14 12:22:44 -05:00
parent 03920b491b
commit e3ba6de497
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)