diff --git a/monkey/infection_monkey/exploit/tools/helpers.py b/monkey/infection_monkey/exploit/tools/helpers.py index ce6791d4c..84bd2c52b 100644 --- a/monkey/infection_monkey/exploit/tools/helpers.py +++ b/monkey/infection_monkey/exploit/tools/helpers.py @@ -8,17 +8,6 @@ from infection_monkey.model import VictimHost logger = logging.getLogger(__name__) -def try_get_target_monkey(host): - src_path = get_target_monkey(host) - if not src_path: - raise Exception("Can't find suitable monkey executable for host %r", host) - return src_path - - -def get_target_monkey(host): - raise NotImplementedError("get_target_monkey() has been retired. Use IAgentRepository instead.") - - def get_random_file_suffix() -> str: character_set = list(string.ascii_letters + string.digits + "_" + "-") # random.SystemRandom can block indefinitely in Linux