Перейти до основного вмісту

raygeo.driver.core.discovery.fingerprints

HttpFingerprint​

Confirms a generic HTTP service by matching the response body.

The probe GETs path and reports a match when the endpoint answers 200 with a body matching match_regex (matched case-insensitively), bounded by timeout seconds and max_bytes of body. It resolves to True on a match, and False on any failure.

match_regex​

match_regex: str

max_bytes​

max_bytes: int

path​

path: str

timeout​

timeout: float

TcpFingerprint​

Confirms a generic TCP service by matching a response line.

The probe waits banner_wait seconds for an unsolicited banner, then (when probe_command is set) sends it and waits for the remaining timeout seconds. It resolves to whether a line starts with match_prefix: True claims the candidate, False does not.

banner_wait: float

match_prefix​

match_prefix: str

probe_command​

probe_command: Optional[str]

timeout​

timeout: float