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.
This commit is contained in:
Mike Salvatore 2022-04-07 12:07:38 -04:00
parent ad0cb20e35
commit e849a7599a
1 changed files with 2 additions and 0 deletions

View File

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