forked from p15670423/monkey
BB: Add tcp ports to depth_1_a_test_configuration
This commit is contained in:
parent
0a0cb5de19
commit
f1d9ea64e5
|
@ -6,6 +6,7 @@ from .utils import (
|
|||
add_credential_collectors,
|
||||
add_exploiters,
|
||||
add_subnets,
|
||||
add_tcp_ports,
|
||||
replace_agent_configuration,
|
||||
replace_propagation_credentials,
|
||||
set_maximum_depth,
|
||||
|
@ -54,6 +55,11 @@ def _add_credential_collectors(agent_configuration: AgentConfiguration) -> Agent
|
|||
)
|
||||
|
||||
|
||||
def _add_tcp_ports(agent_configuration: AgentConfiguration) -> AgentConfiguration:
|
||||
ports = [445, 8088, 22]
|
||||
return add_tcp_ports(agent_configuration, ports)
|
||||
|
||||
|
||||
agent_configuration = set_maximum_depth(noop_test_configuration.agent_configuration, 1)
|
||||
agent_configuration = _add_exploiters(agent_configuration)
|
||||
agent_configuration = _add_subnets(agent_configuration)
|
||||
|
|
Loading…
Reference in New Issue