forked from p15670423/monkey
Common: Add docstring to TCPScanConfiguration dataclass
This commit is contained in:
parent
775ef144a5
commit
7f78e52bf2
|
@ -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, ...]
|
||||
|
||||
|
|
Loading…
Reference in New Issue