Skip to content

Add support for examples in external files #10

Description

@lpar

Sample fingerprint XML:

<example _filename="lgairplay" os.version="p20.04.80.35" hw.vendor="LG Electronics" hw.product="49UM7400PLB" host.name="[LG]\ webOS\ TV\ UM7400PLB"/>

The filename is resolved relative to a directory with the same name as the XML file, in the same place as the XML file. So in this case, mdns_replies/lgairplay would be loaded as the example, instead of the contents of the <example> element.

Needed because:

  • example data may be very large (for web page body fingerprinting)
  • base64 encoding is very error prone due to the variety of standards
  • example data may need to contain zero bytes, which cannot be represented in XML

Also needs implementation in Ruby recog.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions