Closed Sjord closed 6 years ago
HI @Sjord thanks for your contribution!
Can you also please add your test match strings to /src/test/resources/burp/testResponse.txt
? This will allow the unit tests to pass properly.
See: https://github.com/augustd/burp-suite-software-version-checks/wiki/Creating-Match-Rules
The tests already passed. When investigating why I found that there are two match files, and the unit tests are only run against one of those:
Are there supposed to be two? Shouldn't they be in sync? Where should I add my rule?
src/main/resources/burp/match-rules.tab
is the correct file.
The structure of the app had to be changed when it switched from using ant to maven for build. The old file is deprecated and was only kept around for people running older versions of the tool.
In fact, I think I will remove that now, as it has been over a year since it was changed.
Ok, I have put the rule in the correct file and added two lines to the test file.
Awesome! Thanks!
In JSON this looks like:
In XML this looks like: