r3dxpl0it / CVE-2018-15473

OpenSSH 7.7 - Username Enumeration
16 stars 25 forks source link

paramiko.auth_handler issue #1

Open hexrom opened 5 years ago

hexrom commented 5 years ago
root@kali:~/Downloads/CVE-2018-15473# python openssh.py <OMITTED> --port 22 --userlist ~/Downloads/ssh-userlist.txt 
Traceback (most recent call last):
  File "openssh.py", line 17, in <module>
    old_parse_service_accept = paramiko.auth_handler.AuthHandler._handler_table[paramiko.common.MSG_SERVICE_ACCEPT]
TypeError: 'property' object has no attribute '__getitem__'
root@kali:~/Downloads/CVE-2018-15473# pip list |grep paramiko
paramiko                      2.6.0         
root@kali:~/Downloads/CVE-2018-15473# pip list |grep cryptography
cryptography                  2.6.1    
x676f64 commented 5 years ago

This is due to the version of paramiko in use.

pip install paramiko==2.0.8

Should fix the issue.

See: https://github.com/paramiko/paramiko/issues/1314