forked from p34709852/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)
|
@dataclass(frozen=True)
|
||||||
class TCPScanConfiguration:
|
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
|
timeout: float
|
||||||
ports: Tuple[int, ...]
|
ports: Tuple[int, ...]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue