Merge pull request #2128 from guardicore/2004-exploitation-configuration-docstring

ExploitationConfiguration docstring
This commit is contained in:
Mike Salvatore 2022-07-27 08:59:21 -04:00 committed by GitHub
commit 55c9b21e28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -118,6 +118,15 @@ class ExploitationOptionsConfiguration:
@dataclass(frozen=True) @dataclass(frozen=True)
class ExploitationConfiguration: class ExploitationConfiguration:
"""
A configuration for exploitation
Attributes:
:param options: Exploitation options shared by all exploiters
:param brute_force: Configuration for brute force exploiters
:param vulnerability: Configuration for vulnerability exploiters
"""
options: ExploitationOptionsConfiguration options: ExploitationOptionsConfiguration
brute_force: Tuple[PluginConfiguration, ...] brute_force: Tuple[PluginConfiguration, ...]
vulnerability: Tuple[PluginConfiguration, ...] vulnerability: Tuple[PluginConfiguration, ...]