Common: Add docstring to NetworkScanConfiguration dataclass

This commit is contained in:
Shreya Malviya 2022-07-27 16:30:30 +05:30
parent 775ef144a5
commit d49604274d
1 changed files with 10 additions and 0 deletions

View File

@ -52,6 +52,16 @@ class TCPScanConfiguration:
@dataclass(frozen=True) @dataclass(frozen=True)
class NetworkScanConfiguration: class NetworkScanConfiguration:
"""
A configuration for network scanning
Attributes:
:param tcp: Configuration for TCP scanning
:param icmp: Configuration for ICMP scanning
:param fingerprinters: Configuration for fingerprinters to run
:param targets: Configuration for targets to scan
"""
tcp: TCPScanConfiguration tcp: TCPScanConfiguration
icmp: ICMPScanConfiguration icmp: ICMPScanConfiguration
fingerprinters: Tuple[PluginConfiguration, ...] fingerprinters: Tuple[PluginConfiguration, ...]