Common: Add docstring to ExploitationConfiguration dataclass

This commit is contained in:
Shreya Malviya 2022-07-27 17:59:29 +05:30
parent 643896bb5b
commit 706b5758d4
1 changed files with 9 additions and 0 deletions

View File

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