From 1cd746ce7685228540d81b1d4775ef93a9b88cb4 Mon Sep 17 00:00:00 2001 From: Shreya Date: Thu, 6 May 2021 16:19:38 +0530 Subject: [PATCH] Remove unused `_dropper_path` and `_depth` in `infection_monkey/monkey.py` --- monkey/infection_monkey/monkey.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/monkey/infection_monkey/monkey.py b/monkey/infection_monkey/monkey.py index c81a62517..7e188b74d 100644 --- a/monkey/infection_monkey/monkey.py +++ b/monkey/infection_monkey/monkey.py @@ -56,12 +56,10 @@ class InfectionMonkey(object): self._default_tunnel = None self._args = args self._network = None - self._dropper_path = None self._exploiters = None self._fingerprint = None self._default_server = None self._default_server_port = None - self._depth = 0 self._opts = None self._upgrading_to_64 = False @@ -92,7 +90,6 @@ class InfectionMonkey(object): self._keep_running = True self._network = NetworkScanner() - self._dropper_path = sys.argv[0] if self._default_server: if self._default_server not in WormConfiguration.command_servers: