
python code for CVE-2018-15473, using paramiko
A tool for enumerating valid usernames on vulnerable SSH servers (OpenSSH 2.3 through 7.7).
CVE-2018-15473 allows enumeration of existing users on SSH servers by sending malformed authentication packets. The server responds differently to malformed packets depending on whether the user exists:
SSH2_MSG_USERAUTH_FAILUREThis tool sends specially crafted packets and interprets the server's response to determine which usernames are valid.
paramiko librarypip3 install paramiko