From e21f6430146e18b7781febf64af0120dc2630fb5 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Thu, 24 Feb 2022 09:26:28 -0500 Subject: [PATCH] Agent: Remove references to 32-bit agents in monkey.spec --- monkey/infection_monkey/monkey.spec | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/monkey/infection_monkey/monkey.spec b/monkey/infection_monkey/monkey.spec index dc9a90868..d79345d0a 100644 --- a/monkey/infection_monkey/monkey.spec +++ b/monkey/infection_monkey/monkey.spec @@ -43,10 +43,6 @@ def is_windows(): return platform.system().find("Windows") >= 0 -def is_32_bit(): - return sys.maxsize <= 2 ** 32 - - def get_bin_folder(): return os.path.join('.', 'bin') @@ -73,15 +69,10 @@ def get_hidden_imports(): def get_monkey_filename(): name = 'monkey-' if is_windows(): - name = name + "windows-" + name = name + "windows-64.exe" else: - name = name + "linux-" - if is_32_bit(): - name = name + "32" - else: - name = name + "64" - if is_windows(): - name = name + ".exe" + name = name + "linux-64" + return name