forked from p15670423/monkey
Common: Remove sub-configuration and sub-schemas from configuration
This commit is contained in:
parent
291b82c28d
commit
ed39d155bf
|
@ -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 (
|
from .agent_configuration import (
|
||||||
AgentConfiguration,
|
AgentConfiguration,
|
||||||
AgentConfigurationSchema,
|
AgentConfigurationSchema,
|
||||||
|
|
|
@ -1,23 +1,24 @@
|
||||||
from common import OperatingSystems
|
from common import OperatingSystems
|
||||||
from common.configuration import (
|
from common.configuration import AgentConfiguration, AgentConfigurationSchema
|
||||||
AgentConfiguration,
|
from common.configuration.agent_sub_configuration_schemas import (
|
||||||
AgentConfigurationSchema,
|
|
||||||
CustomPBAConfiguration,
|
|
||||||
CustomPBAConfigurationSchema,
|
CustomPBAConfigurationSchema,
|
||||||
ExploitationConfiguration,
|
|
||||||
ExploitationConfigurationSchema,
|
ExploitationConfigurationSchema,
|
||||||
ExploitationOptionsConfigurationSchema,
|
ExploitationOptionsConfigurationSchema,
|
||||||
ExploiterConfigurationSchema,
|
ExploiterConfigurationSchema,
|
||||||
ICMPScanConfigurationSchema,
|
ICMPScanConfigurationSchema,
|
||||||
NetworkScanConfiguration,
|
|
||||||
NetworkScanConfigurationSchema,
|
NetworkScanConfigurationSchema,
|
||||||
PluginConfiguration,
|
|
||||||
PluginConfigurationSchema,
|
PluginConfigurationSchema,
|
||||||
PropagationConfiguration,
|
|
||||||
PropagationConfigurationSchema,
|
PropagationConfigurationSchema,
|
||||||
ScanTargetConfigurationSchema,
|
ScanTargetConfigurationSchema,
|
||||||
TCPScanConfigurationSchema,
|
TCPScanConfigurationSchema,
|
||||||
)
|
)
|
||||||
|
from common.configuration.agent_sub_configurations import (
|
||||||
|
CustomPBAConfiguration,
|
||||||
|
ExploitationConfiguration,
|
||||||
|
NetworkScanConfiguration,
|
||||||
|
PluginConfiguration,
|
||||||
|
PropagationConfiguration,
|
||||||
|
)
|
||||||
|
|
||||||
NAME = "bond"
|
NAME = "bond"
|
||||||
OPTIONS = {"gun": "Walther PPK", "car": "Aston Martin DB5"}
|
OPTIONS = {"gun": "Walther PPK", "car": "Aston Martin DB5"}
|
||||||
|
|
Loading…
Reference in New Issue