Add recog verify tool#9
Merged
mkienow-r7 merged 21 commits intorapid7:masterfrom Oct 6, 2021
Merged
Conversation
This provides access to the example and its associated data.
794240e to
a821cc2
Compare
A valid match may return an empty result Map.
844cfa4 to
64ba370
Compare
Contributor
|
LGTM. 👍 Some considerations for post-merge:
|
gschneider-r7
previously approved these changes
Sep 28, 2021
gschneider-r7
previously approved these changes
Oct 5, 2021
Contributor
gschneider-r7
left a comment
There was a problem hiding this comment.
LGTM 👍 A few more suggestions, but can be done separately.
- Bump
r7.recog.content.versionto latest to ensure the integration test still passes on latest recog content - Fix the build status badge on the readme to use github actions (see adding-a-workflow-status-badge )
Contributor
Author
The integration test passed locally with the latest recog content version |
gschneider-r7
approved these changes
Oct 5, 2021
ekelly-1898
approved these changes
Oct 6, 2021
ekelly-1898
left a comment
There was a problem hiding this comment.
Looks good to me, we are not using any of the breaking changes in the Scan Engine so this should be easy enough to integrate.
rkirk-nos
approved these changes
Oct 6, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a recog fingerprint verify tool that is similar to
recog_verifyfound in the Ruby implementation.Other notable changes:
RecogMatcher.getExamplesmethod no longer returns aSet<String>, but aSet<FingerprintExample>. The change was made to encapsulate details from the fingerprint file that were not currently stored in the object model.RecogMatchers.getMatchesandRecogMatchers.getFirstMatchmethods down toRecogMatcher.match..cpe23recogandrecog-verifyMotivation and Context
These changes are proposed to facilitate the comparison of fingerprint content behavior between recog language implementations.
How Has This Been Tested?
mvn integration-testrecog_verifytocom.rapid7.recog.verify.RecogVerifier. Of the 49 XML fingerprint files from rapid7/recog only 3 did not produce the same summary counts and that was a result of the java implementation not currently supporting base64 encoding. The three files with different summary counts are:ldap_searchresult.xml,snmp_sysdescr.xml,telnet_banners.xml.Types of changes
Checklist: