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
Get SSH issue banner message with Nmap #1389
I am trying to get an issue.net message (Welcome or Warning banner message from /etc/issue.net file) from a remote SSH server, this message appears immediately after connecting to the server (before the password login prompt, so we don't need to enter a password - we just need to connect to the SSH server).
For example, it looks looks like this:
As you can see, issue welcome message "Ubuntu 18.04.1 LTS" appears before password prompt.
I wanted to ask if there is a way to get this SSH issue.net banner message with Nmap or maybe with some NSE scripts without login? Can this be done with Nmap?
Thanks in advance.
This is the
I also have some private code to use this in NSE, but I can't release it until I have configure checks and preprocessor guards for the appropriate code, since it wouldn't build against anything but my patched version of libssh2. I hope to find a bit more time to work on this soon. Thanks for the idea!