Island: Remove dropper target paths from the config

This commit is contained in:
Ilija Lazoroski 2022-05-31 14:00:05 +02:00
parent b8e943f7a8
commit f7c2e903b8
3 changed files with 0 additions and 29 deletions

View File

@ -617,12 +617,6 @@ class ConfigService:
exploit_options = {}
for dropper_target in [
"dropper_target_path_linux",
"dropper_target_path_win_64",
]:
exploit_options[dropper_target] = config.get(dropper_target, "")
exploit_options["http_ports"] = sorted(config["HTTP_PORTS"])
formatted_exploiters_config = {

View File

@ -140,27 +140,6 @@ INTERNAL = {
}
},
},
"dropper": {
"title": "Dropper",
"type": "object",
"properties": {
"dropper_target_path_linux": {
"title": "Dropper target path on Linux",
"type": "string",
"default": "/tmp/monkey",
"description": "Determines where should the dropper place the monkey on a "
"Linux machine",
},
"dropper_target_path_win_64": {
"title": "Dropper target path on Windows (64bit)",
"type": "string",
"default": "C:\\Windows\\temp\\monkey64.exe",
"description": "Determines where should the dropper place the monkey on a "
"Windows machine "
"(64 bit)",
},
},
},
"exploits": {
"title": "Exploits",
"type": "object",

View File

@ -179,8 +179,6 @@ def test_format_config_for_agent__network_scan(flat_monkey_config):
def test_format_config_for_agent__exploiters(flat_monkey_config):
expected_exploiters_config = {
"options": {
"dropper_target_path_linux": "/tmp/monkey",
"dropper_target_path_win_64": r"C:\Windows\temp\monkey64.exe",
"http_ports": [80, 443, 7001, 8008, 8080, 9200],
},
"brute_force": [