From 839024f2437cd04fd4ecc5d5ce91cde870b8fe7b Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Tue, 23 Nov 2021 15:20:19 +0100 Subject: [PATCH] Island: Fix formatting in config --- monkey/monkey_island/cc/resources/propagation_credentials.py | 2 +- monkey/monkey_island/cc/services/config.py | 4 +++- vulture_allowlist.py | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/monkey/monkey_island/cc/resources/propagation_credentials.py b/monkey/monkey_island/cc/resources/propagation_credentials.py index 16699300e..74e99b10d 100644 --- a/monkey/monkey_island/cc/resources/propagation_credentials.py +++ b/monkey/monkey_island/cc/resources/propagation_credentials.py @@ -6,4 +6,4 @@ from monkey_island.cc.services.config import ConfigService class PropagationCredentials(flask_restful.Resource): def get(self): - return {'propagation_credentials': ConfigService.get_config_propagation_credentials()} + return {"propagation_credentials": ConfigService.get_config_propagation_credentials()} diff --git a/monkey/monkey_island/cc/services/config.py b/monkey/monkey_island/cc/services/config.py index 4be546c57..280cdf763 100644 --- a/monkey/monkey_island/cc/services/config.py +++ b/monkey/monkey_island/cc/services/config.py @@ -411,7 +411,9 @@ class ConfigService: @staticmethod def get_config_propagation_credentials(): return { - "exploit_user_list": ConfigService.get_config_value(USER_LIST_PATH, should_decrypt=False), + "exploit_user_list": ConfigService.get_config_value( + USER_LIST_PATH, should_decrypt=False + ), "exploit_password_list": ConfigService.get_config_value( PASSWORD_LIST_PATH, should_decrypt=False ), diff --git a/vulture_allowlist.py b/vulture_allowlist.py index f2c6edf3a..4f67c9860 100644 --- a/vulture_allowlist.py +++ b/vulture_allowlist.py @@ -209,3 +209,6 @@ scan_tcp_port fingerprint interrupt MockPuppet +ControlChannel +should_agent_stop +get_credentials_for_propagation