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

'property' object has no attribute '__getitem__' Error #14

Closed
crazywifi opened this issue Nov 14, 2018 · 14 comments
Closed

'property' object has no attribute '__getitem__' Error #14

crazywifi opened this issue Nov 14, 2018 · 14 comments

Comments

@crazywifi
Copy link

File "sshUsernameEnumExploit.py", line 33, in
old_parse_service_accept = paramiko.auth_handler.AuthHandler._handler_table[paramiko.common.MSG_SERVICE_ACCEPT]
TypeError: 'property' object has no attribute 'getitem'

@xillwillx
Copy link

its a paramiko update issue

@A2nkF
Copy link

A2nkF commented Jan 7, 2019

I had the same issue pip3 install --upgrade paramiko==2.4.1 worked for me

@angry-bender
Copy link

I had the same issue pip3 install --upgrade paramiko==2.4.1 worked for me

Thank you!!

@viston03
Copy link

Still facing the same issue

@angry-bender
Copy link

Try cryptography==2.4.2

As well

@angry-bender
Copy link

As well as paramiko

@5a3ee
Copy link

5a3ee commented Jun 20, 2019

That still doesn't solve it for me:
pip list | grep -E "paramiko|cryptography" cryptography 2.4.2 paramiko 2.4.2

@angry-bender
Copy link

Hmm, are you using python 2.7? What error messages are you getting?

@angry-bender
Copy link

I modfied my version to work in python 3, with the following versions

Python 3

pip
    paramiko==2.4.1
    cryptography==2.4.2

@Yashvendra
Copy link

Did somebody find a feasible solution? Mine also doesn't seem to work.

@Swastik2561
Copy link

Step 1: pip3 install --upgrade paramiko==2.4.1 cryptography==2.4.2
Step 2: Just change the print parameters from print '[-] Failed to connect' to print ('[-] Failed to connect').
Step 3: $python3 .py to run the program.

Hope that helps....

@triskalion
Copy link

  1. pip install --upgrade paramiko==2.4.1
  2. python 45233.py --help

pip3 is for python3

@angry-bender
Copy link

Can be fixed by replacing

_handler_table[paramiko.common.MSG_SERVICE_ACCEPT]

to

client_handler_table[paramiko.common.MSG_SERVICE_ACCEPT]

See paramiko/paramiko#1314 where the class was updated.

Fixed in most recent commit of https://github.com/angry-bender/SUOPE/blob/master/suope.py

@Roman-Karchikyan
Copy link

Guys this module says valid username, even if the username is invalid. tested on OpenSSH 7.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants