From 13e16b9dead5f4a2c04bc6001c5ec6fad53e3fd4 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 1 Dec 2021 11:24:54 -0500 Subject: [PATCH] Agent: Revert "legacy" in dropper start() and cleanup() functions --- monkey/infection_monkey/dropper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/infection_monkey/dropper.py b/monkey/infection_monkey/dropper.py index 30be3798e..e2f59e601 100644 --- a/monkey/infection_monkey/dropper.py +++ b/monkey/infection_monkey/dropper.py @@ -57,7 +57,7 @@ class MonkeyDrops(object): logger.debug("Dropper is running with config:\n%s", pprint.pformat(self._config)) - def legacy_start(self): + def start(self): if self._config["destination_path"] is None: logger.error("No destination path specified") return False @@ -182,7 +182,7 @@ class MonkeyDrops(object): if monkey_process.poll() is not None: logger.warning("Seems like monkey died too soon") - def legacy_cleanup(self): + def cleanup(self): logger.info("Cleaning up the dropper") try: