forked from p34709852/monkey
BB: Add missing type hints to add_exploiters()
This commit is contained in:
parent
37e79f41e8
commit
d11fbe92e8
|
@ -5,6 +5,7 @@ from common.configuration import (
|
|||
AgentConfiguration,
|
||||
ExploitationConfiguration,
|
||||
NetworkScanConfiguration,
|
||||
PluginConfiguration,
|
||||
PropagationConfiguration,
|
||||
ScanTargetConfiguration,
|
||||
)
|
||||
|
@ -13,7 +14,9 @@ from . import TestConfiguration
|
|||
|
||||
|
||||
def add_exploiters(
|
||||
agent_configuration: AgentConfiguration, brute_force=[], vulnerability=[]
|
||||
agent_configuration: AgentConfiguration,
|
||||
brute_force: Sequence[PluginConfiguration] = [],
|
||||
vulnerability: Sequence[PluginConfiguration] = [],
|
||||
) -> AgentConfiguration:
|
||||
exploitation_configuration = replace(
|
||||
agent_configuration.propagation.exploitation,
|
||||
|
|
Loading…
Reference in New Issue