Common: Add docstring to TCPScanConfiguration dataclass

This commit is contained in:
Shreya Malviya 2022-07-27 15:55:35 +05:30
parent 775ef144a5
commit 7f78e52bf2
1 changed files with 8 additions and 0 deletions

View File

@ -46,6 +46,14 @@ class ICMPScanConfiguration:
@dataclass(frozen=True)
class TCPScanConfiguration:
"""
A configuration for TCP scanning
Attributes:
:param timeout: Maximum time to wait for a response from the target
:param ports: Ports to scan
"""
timeout: float
ports: Tuple[int, ...]