Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Make sure Ubuntu CPE reports correctly when the version isn't matched to an OS version #205

Closed
claudijd opened this issue Sep 20, 2016 · 1 comment · Fixed by #212
Closed

Comments

@claudijd
Copy link
Contributor

Example case was when we saw a banner like this.... "SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-8"

I fixed the fingerprint for this in #204, but to reproduce this bug we just need to see something like "SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-9" and it will improperly show up in the JSON output like this...

"os_cpe": "o:canonical:ubuntu:#<SSHScan::OS::Ubuntu::Version:0x007f8c9e9741e0>",
@ashishgaurav13
Copy link
Collaborator

@claudijd Also added a test for the same.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants