class

Detector::Specification::Caido

Inherits Detector < Reference < Object

Constants

HOST_MARKER = /"host"/

Every .json in the tree reaches these guards. The first four must all match, so they stay separate probes; only the last pair is an alternation.

METHOD_MARKER = /"method"/
PATH_MARKER = /"path"/
RAW_MARKER = /"raw"/
TLS_OR_PORT_MARKER = Regex.union("\"is_tls\"", "\"port\"")

Class methods

tech_name

The tech name without needing an instance, so the registry can be read off the classes themselves rather than from a parallel list.

Source

Instance methods

applicable?(filename : String) : Bool

Registers Caido export paths in CodeLocator.

Source
detect(filename : String, file_contents : String) : Bool
Source
idempotent?

Registers Caido export paths in CodeLocator.

Source
set_name

Registers Caido export paths in CodeLocator.

Source