forked from p15670423/monkey
Common: Create ExploitationOptionsConfiguration using pydantic
This commit is contained in:
parent
153c3e9b9f
commit
b74f90fe9b
|
@ -279,6 +279,17 @@ class ExploitationOptionsConfiguration:
|
|||
http_ports: Tuple[int, ...]
|
||||
|
||||
|
||||
class Pydantic___ExploitationOptionsConfiguration:
|
||||
"""
|
||||
A configuration for exploitation options
|
||||
|
||||
Attributes:
|
||||
:param http_ports: HTTP ports to exploit
|
||||
"""
|
||||
|
||||
http_ports: Tuple[conint(ge=0, le=65535), ...]
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class ExploitationConfiguration:
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue