forked from p15670423/monkey
Agent: Add missing return type to HTTPFingerprinter
This commit is contained in:
parent
373a25d5f6
commit
0a04e846ba
|
@ -28,7 +28,7 @@ class HTTPFingerprinter(IFingerprinter):
|
||||||
_: PingScanData,
|
_: PingScanData,
|
||||||
port_scan_data: Dict[int, PortScanData],
|
port_scan_data: Dict[int, PortScanData],
|
||||||
options: Dict,
|
options: Dict,
|
||||||
):
|
) -> FingerprintData:
|
||||||
services = {}
|
services = {}
|
||||||
http_ports = set(options.get("http_ports", []))
|
http_ports = set(options.get("http_ports", []))
|
||||||
ports_to_fingerprint = _get_open_http_ports(http_ports, port_scan_data)
|
ports_to_fingerprint = _get_open_http_ports(http_ports, port_scan_data)
|
||||||
|
|
Loading…
Reference in New Issue