Skip to content

rhykw/sni-inspection-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

PoC of proxy server for SNI (TLS)

This PoC code accepts TLS connections and parses the TLS header. Then connects to the real server instead of the client and sends the response back to the client.

In SNI-enabled TLS, the header contains the server name to connect to in plaintext.

Usage

server

# sudo ruby main.rb

client

curl -s --verbose --resolve example.com:443:127.0.0.1 https://example.com:443/

References

About

PoC of proxy for SNI (TLS)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages