You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This results at the end in the following error: AttributeError: module 'ssl' has no attribute 'PROTOCOL_TLS'
I'm not entirely sure how this happens, just fixed it up with the following, which ends up taking PROTOCOL_TLSv1 on the system:
gcontext = ssl.SSLContext([e for e in dir(ssl) if e.startswith('PROTOCOL_TLS')][0])
if "PROTOCOL_TLS" in dir(ssl):
gcontext = ssl.SSLContext(ssl.PROTOCOL_TLS)
I'm not sure how common this is, if it is worth adding
The text was updated successfully, but these errors were encountered:
Hey, appreciate you flagging this, thank you! Had a play and have hopefully found a more sustainable alternative (920f33d). Apologies i'm so late to this, but lmk how you get on!
Hi,
somehow on one of the target systems the ssl module does not have PROTOCOL_TLS as it is included here
Medusa/Payload_Type/medusa/mythic/agent_functions/builder.py
Line 118 in 4309cbe
This results at the end in the following error:
AttributeError: module 'ssl' has no attribute 'PROTOCOL_TLS'
I'm not entirely sure how this happens, just fixed it up with the following, which ends up taking
PROTOCOL_TLSv1
on the system:I'm not sure how common this is, if it is worth adding
The text was updated successfully, but these errors were encountered: