Open galactghost opened 11 months ago
I got the same error in Kali:
└─$ python3 BlueGate.py -M check -P 3389 <IP> Traceback (most recent call last): File "/home/kali/Desktop/BlueGate/BlueGate.py", line 130, in <module> connection = Connection(args.host, args.port) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/Desktop/BlueGate/BlueGate.py", line 65, in __init__ self.connection = SSL.Connection(SSL.Context(0), self.socket) ^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 710, in __init__ method_func, version = self._methods[method] ^^^^^^^^^^^^^^^^^^^^ TypeError: cannot unpack non-iterable builtin_function_or_method object
I'm using Python 3.11.5 and I have installed pyOpenSSL
I was able to run the script by downgrading pyopenssl and cryptography libraries, upgrading them didn't work.
pip uninstall pyopenssl
pip install pyopenssl==22.0.0`
pip uninstall cryptography
pip install cryptography==37.0.0
I am getting this error after uninstalling and reinstalling and pyopenssl and cryptography
What command did you run to test the code ?
I tried to run by updating the cryptography and pyopenssl but it give me this error .
I copied bluegate.exe from github and tried to run it by ./bluegate.exe IP address --mode check but the code is giving me three following errors and line number of the error code .