BlueGate icon indicating copy to clipboard operation
BlueGate copied to clipboard

How to use bluegate ?

Open galactghost opened this issue 2 years ago • 5 comments

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 .

  1. connection = connection(args.host, args.port) line 130
  2. self.connection = SSL.Connection(SSL.Context(0), self.socket) line 65
  3. method_func, version = self._methods[method] line 710

galactghost avatar Oct 27 '23 20:10 galactghost

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

jjguz17 avatar Nov 08 '23 16:11 jjguz17

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

jjguz17 avatar Nov 08 '23 22:11 jjguz17

IMG_20231112_231954_884.jpg

I am getting this error after uninstalling and reinstalling and pyopenssl and cryptography

galactghost avatar Nov 12 '23 18:11 galactghost

What command did you run to test the code ?

galactghost avatar Nov 12 '23 18:11 galactghost

IMG_20231112_233349_975.jpg

I tried to run by updating the cryptography and pyopenssl but it give me this error .

galactghost avatar Nov 12 '23 18:11 galactghost