diff --git a/monkey/infection_monkey/utils/commands.py b/monkey/infection_monkey/utils/commands.py index b66a622e9..c2c7e188c 100644 --- a/monkey/infection_monkey/utils/commands.py +++ b/monkey/infection_monkey/utils/commands.py @@ -13,7 +13,6 @@ def build_monkey_commandline(target_host: VictimHost, depth: int, location: str return " " + " ".join( build_monkey_commandline_explicitly( GUID, - target_host.default_tunnel, target_host.default_server, depth, location, @@ -23,7 +22,6 @@ def build_monkey_commandline(target_host: VictimHost, depth: int, location: str def build_monkey_commandline_explicitly( parent: str = None, - tunnel: str = None, server: str = None, depth: int = None, location: str = None, @@ -33,9 +31,6 @@ def build_monkey_commandline_explicitly( if parent is not None: cmdline.append("-p") cmdline.append(str(parent)) - if tunnel is not None: - cmdline.append("-t") - cmdline.append(str(tunnel)) if server is not None: cmdline.append("-s") cmdline.append(str(server))