forked from p15670423/monkey
Island: Fix formatting in config
This commit is contained in:
parent
56f07e0188
commit
839024f243
|
@ -6,4 +6,4 @@ from monkey_island.cc.services.config import ConfigService
|
||||||
class PropagationCredentials(flask_restful.Resource):
|
class PropagationCredentials(flask_restful.Resource):
|
||||||
def get(self):
|
def get(self):
|
||||||
|
|
||||||
return {'propagation_credentials': ConfigService.get_config_propagation_credentials()}
|
return {"propagation_credentials": ConfigService.get_config_propagation_credentials()}
|
||||||
|
|
|
@ -411,7 +411,9 @@ class ConfigService:
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_config_propagation_credentials():
|
def get_config_propagation_credentials():
|
||||||
return {
|
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(
|
"exploit_password_list": ConfigService.get_config_value(
|
||||||
PASSWORD_LIST_PATH, should_decrypt=False
|
PASSWORD_LIST_PATH, should_decrypt=False
|
||||||
),
|
),
|
||||||
|
|
|
@ -209,3 +209,6 @@ scan_tcp_port
|
||||||
fingerprint
|
fingerprint
|
||||||
interrupt
|
interrupt
|
||||||
MockPuppet
|
MockPuppet
|
||||||
|
ControlChannel
|
||||||
|
should_agent_stop
|
||||||
|
get_credentials_for_propagation
|
||||||
|
|
Loading…
Reference in New Issue