Agent: Add missing return type to HTTPFingerprinter

This commit is contained in:
Mike Salvatore 2022-02-08 08:48:17 -05:00
parent 373a25d5f6
commit 0a04e846ba
1 changed files with 1 additions and 1 deletions

View File

@ -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)