मुख्य सामग्री पर जाएँ

raydriver.core.discovery.fingerprints

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 returns a truthy value when a line starts with match_prefix, and None otherwise.

banner_wait: float

match_prefix​

match_prefix: str

probe_command​

probe_command: Optional[str]

timeout​

timeout: float