runZeroInc / recog-go

Recog-Go: Pattern Recognition using Rapid7 Recog
Other
101 stars 30 forks source link

Add support for examples in external files #10

Open lpar opened 3 years ago

lpar commented 3 years ago

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:

Also needs implementation in Ruby recog.