Closed dabdine-r7 closed 5 years ago
Just referencing a PR for godap that depends on the outcome of this ticket: https://github.com/rapid7/godap/pull/7
If we agree it should be the matches
field, and not the file name, I can throw a PR up for that...
Thanks! Either way works here, not much code to change. Another option is allowing for lookups by either the name or the matches field.
This was resolved in v0.0.15, now both the matches attribute and the file name can be used.
Ruby-based recog's Nizer::Match method references fingerprint databases by the
matches
attribute in the XML file content:https://github.com/rapid7/recog/blob/998672b697e25325565e7b8230190e670e12ca9c/lib/recog/nizer.rb#L71
However, recog-go appears to reference the database based on the file name (
dns_versionbind.xml
).For what it's worth, I believe java-based recog uses the file name as well.