recog
recog copied to clipboard
Add pattern for OpenSSH on Debian 12
Description
Updated ssh_banners.xml to include pattern for OpenSSH on Debian 12 (bookworm).
Motivation and Context
Currently only Debian 11 and older are detected via SSH banner.
How Has This Been Tested?
I consume the patterns from the XML file directly instead of using the ruby or other software that includes them. The regular expression has been tested against expected SSH banners and package versions (e.g. https://tracker.debian.org/news/1541136/accepted-openssh-192p1-2deb12u3-source-into-stable-security/) but integration with other tools has not been tested.
Types of changes
- New feature (non-breaking change which adds functionality)
Checklist:
- [x] I have updated the documentation accordingly (or changes are not required).
- [x] I have added tests to cover my changes (or new tests are not required). - I added an example entry to the XML
- [ ] All new and existing tests passed.