Agent: Remove tunnel from aget build command functions

This commit is contained in:
Ilija Lazoroski 2022-09-02 12:13:20 +02:00 committed by Mike Salvatore
parent 4ad2c35c94
commit ddc4f4d836
1 changed files with 0 additions and 5 deletions

View File

@ -13,7 +13,6 @@ def build_monkey_commandline(target_host: VictimHost, depth: int, location: str
return " " + " ".join( return " " + " ".join(
build_monkey_commandline_explicitly( build_monkey_commandline_explicitly(
GUID, GUID,
target_host.default_tunnel,
target_host.default_server, target_host.default_server,
depth, depth,
location, location,
@ -23,7 +22,6 @@ def build_monkey_commandline(target_host: VictimHost, depth: int, location: str
def build_monkey_commandline_explicitly( def build_monkey_commandline_explicitly(
parent: str = None, parent: str = None,
tunnel: str = None,
server: str = None, server: str = None,
depth: int = None, depth: int = None,
location: str = None, location: str = None,
@ -33,9 +31,6 @@ def build_monkey_commandline_explicitly(
if parent is not None: if parent is not None:
cmdline.append("-p") cmdline.append("-p")
cmdline.append(str(parent)) cmdline.append(str(parent))
if tunnel is not None:
cmdline.append("-t")
cmdline.append(str(tunnel))
if server is not None: if server is not None:
cmdline.append("-s") cmdline.append("-s")
cmdline.append(str(server)) cmdline.append(str(server))