Improve output module handlekatz and nanodump
parent
03920b491b
commit
e3ba6de497
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue