Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different results based on flag used #27

Open
Venefic opened this issue Jan 12, 2024 · 2 comments
Open

Different results based on flag used #27

Venefic opened this issue Jan 12, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Venefic
Copy link

Venefic commented Jan 12, 2024

Encountered an interesting thing, not sure if it's a bug or not. But getting different results while using the scanner based on if i use --connect or -connect flags. You can see it in the screenshot attached, both scans performed one after the other without any changes server-side.
Best regards
Screenshot 2024-01-12 at 10 07 16

@TrueSkrillor
Copy link
Contributor

This is interesting, although I doubt that it is related to the different number of dashes for the connect flag. The CLI parsing is completely separate from the actual scanning, so I don't see a way how the one could influence the other (aside from the parameter values, of course). Can you provide me answers to the following questions:

  • Is the result reproducible, i.e. does using one dash always result in ChaCha20-Poly1305 support being detected, while two dashes indicate no support? Or do you observe some kind of non-determinism?
  • Have you changed the configuration of the SSH server? Or does it use the default configuration regarding encryption modes?

@TrueSkrillor TrueSkrillor added the bug Something isn't working label Jan 12, 2024
@TrueSkrillor
Copy link
Contributor

Unable to reproduce. I set up the exact version of Debian and OpenSSH that you are using (bookworm, openssh-server 1:9.2p1-2+deb12u1) inside a docker container and also used the scanner's docker image for scanning. Changing dashes doesn't make a difference; the scanner always returns the first of the two results you posted. Can you please provide more insight by answering the questions above?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants