class

Detector::Specification::Mitmproxy

Inherits Detector < Reference < Object

Constants

LENGTH_PREFIX = /\A\d+:/

Tnetstring length prefix: one or more ASCII digits then a colon.

TYPE_MARKERS = ["4:type;", "4:type,"]

mitmproxy stores its top-level flow type under the dict key "type". In tnetstring that key always serializes verbatim as either 4:type; (mitmproxy's bytes type) or 4:type, (the standard tnetstring string type) depending on flow format version, so we accept either variant as the magic marker.

Instance methods

applicable?(filename : String) : Bool

Registers mitmproxy flow paths in CodeLocator.

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

Registers mitmproxy flow paths in CodeLocator.

Source
name

Registers mitmproxy flow paths in CodeLocator.

Source