Common: Remove sub-configuration and sub-schemas from configuration

This commit is contained in:
Mike Salvatore 2022-06-17 10:23:43 -04:00
parent 291b82c28d
commit ed39d155bf
2 changed files with 9 additions and 34 deletions

View File

@ -1,29 +1,3 @@
from .agent_sub_configurations import (
PluginConfiguration,
CustomPBAConfiguration,
ICMPScanConfiguration,
TCPScanConfiguration,
ScanTargetConfiguration,
NetworkScanConfiguration,
ExploitationOptionsConfiguration,
ExploiterConfiguration,
ExploitationConfiguration,
PropagationConfiguration,
)
from .agent_sub_configuration_schemas import (
PluginConfigurationSchema,
CustomPBAConfigurationSchema,
ICMPScanConfigurationSchema,
TCPScanConfigurationSchema,
ScanTargetConfigurationSchema,
NetworkScanConfigurationSchema,
ExploitationOptionsConfigurationSchema,
ExploiterConfigurationSchema,
ExploitationConfigurationSchema,
PropagationConfigurationSchema,
)
from .agent_configuration import (
AgentConfiguration,
AgentConfigurationSchema,

View File

@ -1,23 +1,24 @@
from common import OperatingSystems
from common.configuration import (
AgentConfiguration,
AgentConfigurationSchema,
CustomPBAConfiguration,
from common.configuration import AgentConfiguration, AgentConfigurationSchema
from common.configuration.agent_sub_configuration_schemas import (
CustomPBAConfigurationSchema,
ExploitationConfiguration,
ExploitationConfigurationSchema,
ExploitationOptionsConfigurationSchema,
ExploiterConfigurationSchema,
ICMPScanConfigurationSchema,
NetworkScanConfiguration,
NetworkScanConfigurationSchema,
PluginConfiguration,
PluginConfigurationSchema,
PropagationConfiguration,
PropagationConfigurationSchema,
ScanTargetConfigurationSchema,
TCPScanConfigurationSchema,
)
from common.configuration.agent_sub_configurations import (
CustomPBAConfiguration,
ExploitationConfiguration,
NetworkScanConfiguration,
PluginConfiguration,
PropagationConfiguration,
)
NAME = "bond"
OPTIONS = {"gun": "Walther PPK", "car": "Aston Martin DB5"}