Fix action config schemas and formrequest method for dos bot action
This commit is contained in:
@@ -121,7 +121,8 @@ def test_c2_server_ransomware(game_and_agent_fixture: Tuple[PrimaiteGame, ProxyA
|
||||
"c2_server_ransomware_configure",
|
||||
{
|
||||
"node_name": "client_1",
|
||||
"config": {"server_ip_address": "10.0.2.3", "payload": "ENCRYPT"},
|
||||
"server_ip_address": "10.0.2.3",
|
||||
"payload": "ENCRYPT",
|
||||
},
|
||||
)
|
||||
agent.store_action(action)
|
||||
|
||||
@@ -424,7 +424,7 @@ def test_network_router_port_disable_integration(game_and_agent: Tuple[PrimaiteG
|
||||
"network_port_disable",
|
||||
{
|
||||
"target_nodename": "router", # router
|
||||
"port_id": 1, # port 1
|
||||
"port_num": 2, # port 1
|
||||
},
|
||||
)
|
||||
agent.store_action(action)
|
||||
@@ -456,7 +456,7 @@ def test_network_router_port_enable_integration(game_and_agent: Tuple[PrimaiteGa
|
||||
"network_port_enable",
|
||||
{
|
||||
"target_nodename": "router", # router
|
||||
"port_id": 1, # port 1
|
||||
"port_num": 2, # port 1
|
||||
},
|
||||
)
|
||||
agent.store_action(action)
|
||||
|
||||
Reference in New Issue
Block a user