Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Crash in libssh when port 22 response is unexpected #1227
Nmap 7.70 crashes when running either of the following two scripts against an open port 22 which is not recognised as SSH:
I managed to narrow it down to these scripts and one particular host, and created a minimised test case that can be run locally:
This will cause a crash, sometimes with
If I disable those two scripts, then Nmap doesn't crash, and the host output looks like:
Hope that helps in diagnosing the issue.
Please can you look into it?