From e849a7599a896c801d2231f35d4271bdca0fa014 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Thu, 7 Apr 2022 12:07:38 -0400 Subject: [PATCH] Agent: Remove T1216_random_executable.exe from agent binary on Linux The signed-script proxy PBA only runs on Windows, so there's no need to include the 1.1MB executable in the Linux agent. --- monkey/infection_monkey/monkey.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/monkey/infection_monkey/monkey.spec b/monkey/infection_monkey/monkey.spec index d79345d0a..5144a8528 100644 --- a/monkey/infection_monkey/monkey.spec +++ b/monkey/infection_monkey/monkey.spec @@ -55,6 +55,8 @@ def process_datas(orig_datas): datas = orig_datas if is_windows(): datas = [i for i in datas if i[0].find('Include') < 0] + else: + datas = [i for i in datas if not i[0].endswith("T1216_random_executable.exe")] return datas