Agent: Add issue reference to _add_http_ports_to_fingerprinters()
This commit is contained in:
parent
961d2df7d9
commit
b05438b5f1
|
@ -83,7 +83,7 @@ class Propagator:
|
||||||
network_scan: NetworkScanConfiguration, http_ports: Sequence[int]
|
network_scan: NetworkScanConfiguration, http_ports: Sequence[int]
|
||||||
) -> NetworkScanConfiguration:
|
) -> NetworkScanConfiguration:
|
||||||
# This is a hack to add http_ports to the options of fingerprinters
|
# This is a hack to add http_ports to the options of fingerprinters
|
||||||
# It will be reworked
|
# It will be reworked. See https://github.com/guardicore/monkey/issues/2136
|
||||||
modified_fingerprinters = [*network_scan.fingerprinters]
|
modified_fingerprinters = [*network_scan.fingerprinters]
|
||||||
for i, fingerprinter in enumerate(modified_fingerprinters):
|
for i, fingerprinter in enumerate(modified_fingerprinters):
|
||||||
if fingerprinter.name != "http":
|
if fingerprinter.name != "http":
|
||||||
|
|
Loading…
Reference in New Issue