-
Notifications
You must be signed in to change notification settings - Fork 69
ERROR - 'TLSClientHello' object has no attribute 'extensions' #16
Description
Hi I recently ran into this error:
ERROR - 'TLSClientHello' object has no attribute 'extensions'
Traceback (most recent call last):
File "/home/admin/certmitm/certmitm.py", line 42, in threaded_connection_handler
connection = certmitm.connection.connection(mitm_connection.downstream_socket, logger)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/admin/certmitm/certmitm/connection.py", line 33, in init
self.upstream_sni = certmitm.util.SNIFromHello(self.client_socket.recv(4096, socket.MSG_PEEK))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/admin/certmitm/certmitm/util.py", line 38, in SNIFromHello
for ext in ch.extensions:
^^^^^^^^^^^^^
AttributeError: 'TLSClientHello' object has no attribute 'extensions'
Is this something that can be fixed? Let me know if you need more info to reproduce it.