a guest Apr 19th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- require 'net/protocol'
- class Net::Protocol
- module ForceSNI
- def ssl_socket_connect(*)
- @sock.hostname = @host if @sock.respond_to? :hostname=
- prepend ForceSNI
RAW Paste Data