Open MrQubo opened 3 months ago
import ssl from pwn import * io = remote('172.22.0.2', 9090, ssl=True, ssl_args={ 'server_hostname': 'example.com' }) ...
In the above code server_hostname will be overwritten with '172.22.0.2'.
server_hostname
'172.22.0.2'
You can change assignments to setdefault probably.
Should I create PR to dev or stable?
dev
stable
I think we should jest error if 'server_hostname' is set in ssl_args and sni is not False.
sni
In the above code
server_hostname
will be overwritten with'172.22.0.2'
.