forked from p15670423/monkey
Moved common config value paths to common
This commit is contained in:
parent
3848dbeb32
commit
3f687f6aea
|
@ -4,7 +4,7 @@ from monkey_island.cc.services.config import ConfigService
|
|||
|
||||
__author__ = "VakarisZ"
|
||||
|
||||
from monkey_island.cc.services.config_schema.config_value_paths import CURRENT_SERVER_PATH
|
||||
from common.config_value_paths import CURRENT_SERVER_PATH
|
||||
|
||||
|
||||
class T1065(AttackTechnique):
|
||||
|
|
|
@ -14,10 +14,10 @@ from monkey_island.cc.services.config_schema.config_schema import SCHEMA
|
|||
|
||||
__author__ = "itay.mizeretz"
|
||||
|
||||
from monkey_island.cc.services.config_schema.config_value_paths import (AWS_KEYS_PATH, EXPORT_MONKEY_TELEMS_PATH,
|
||||
LM_HASH_LIST_PATH, NTLM_HASH_LIST_PATH,
|
||||
PASSWORD_LIST_PATH, SSH_KEYS_PATH,
|
||||
STARTED_ON_ISLAND_PATH, USER_LIST_PATH)
|
||||
from common.config_value_paths import (AWS_KEYS_PATH, EXPORT_MONKEY_TELEMS_PATH,
|
||||
LM_HASH_LIST_PATH, NTLM_HASH_LIST_PATH,
|
||||
PASSWORD_LIST_PATH, SSH_KEYS_PATH,
|
||||
STARTED_ON_ISLAND_PATH, USER_LIST_PATH)
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from monkey_island.cc.services.config import ConfigService
|
||||
from monkey_island.cc.services.config_schema.config_value_paths import INACCESSIBLE_SUBNETS_PATH
|
||||
from common.config_value_paths import INACCESSIBLE_SUBNETS_PATH
|
||||
|
||||
|
||||
def get_config_network_segments_as_subnet_groups():
|
||||
|
|
|
@ -12,9 +12,9 @@ from monkey_island.cc.database import mongo
|
|||
from monkey_island.cc.models import Monkey
|
||||
from monkey_island.cc.services.utils.network_utils import get_subnets, local_ip_addresses
|
||||
from monkey_island.cc.services.config import ConfigService
|
||||
from monkey_island.cc.services.config_schema.config_value_paths import (EXPLOITER_CLASSES_PATH, LOCAL_NETWORK_SCAN_PATH,
|
||||
PASSWORD_LIST_PATH, SUBNET_SCAN_LIST_PATH,
|
||||
USER_LIST_PATH)
|
||||
from common.config_value_paths import (EXPLOITER_CLASSES_PATH, LOCAL_NETWORK_SCAN_PATH,
|
||||
PASSWORD_LIST_PATH, SUBNET_SCAN_LIST_PATH,
|
||||
USER_LIST_PATH)
|
||||
from monkey_island.cc.services.configuration.utils import get_config_network_segments_as_subnet_groups
|
||||
from monkey_island.cc.services.node import NodeService
|
||||
from monkey_island.cc.services.reporting.pth_report import PTHReportService
|
||||
|
|
|
@ -6,7 +6,7 @@ from common.cloud.scoutsuite_consts import CloudProviders
|
|||
from common.utils.exceptions import InvalidAWSKeys
|
||||
from monkey_island.cc.server_utils.encryptor import encryptor
|
||||
from monkey_island.cc.services.config import ConfigService
|
||||
from monkey_island.cc.services.config_schema.config_value_paths import AWS_KEYS_PATH
|
||||
from common.config_value_paths import AWS_KEYS_PATH
|
||||
|
||||
|
||||
def is_cloud_authentication_setup(provider: CloudProviders) -> Tuple[bool, str]:
|
||||
|
|
|
@ -6,7 +6,7 @@ import dpath.util
|
|||
from monkey_island.cc.database import mongo
|
||||
from monkey_island.cc.server_utils import encryptor
|
||||
from monkey_island.cc.services.config import ConfigService
|
||||
from monkey_island.cc.services.config_schema.config_value_paths import AWS_KEYS_PATH
|
||||
from common.config_value_paths import AWS_KEYS_PATH
|
||||
from monkey_island.cc.services.zero_trust.scoutsuite.scoutsuite_auth_service import is_aws_keys_setup
|
||||
from monkey_island.cc.test_common.fixtures import FixtureEnum
|
||||
|
||||
|
|
Loading…
Reference in New Issue