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

ssh-publickey-acceptance.nse: Single failure of script removes all successses #2618

Open
MegaManSec opened this issue Mar 7, 2023 · 0 comments
Labels

Comments

@MegaManSec
Copy link

The ssh-publickey-acceptance.nse script has a bug related to how it saves successful keys.

Imagine you have: 1 host, 1 user, and 3 keys.
When scanning with ssh-publickey-acceptance.nse, if the first key is accepted but the second or third attempt results in a failure in the script (e.g. if nmap cannot connect to the server anymore), the accepted key is not saved and reported to the user.

It should report the success, despite later failures.

@MegaManSec MegaManSec added the Nmap label Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant