/sni-capture

small library to capture all tls helo sni extention fields

Primary LanguageJavaScript

SNI Capture

This package uses pcap package to listen on default interface and port 443 to determine all TLS HELO Handshakes and SNI Extention. You may need https://github.com/node-pcap/node_pcap for details, how to use createSession method inside the code. Out of the box, this tool will console log everything it can find.

Parameters

node sni-capture.js [--log <filename>]
    --log : will console output and log output to the file

Purphose

imagine you have purchased a domainname and you do not know if this domain has traffic and if so you want to know if you receive https traffic and if so you need to know which subdomain you need to set-up. This small tool will help you seeing all SNI Extention handshakes of TLS.

Validation

Added SSL Validation for seen hosts. Every 10minutes we do check Domains for SSL certificates and mark them with 'SSL VERIFIED' if verified, otherwise it returns the error code as Red.

Requirements

For ubuntu: apt install build-essential libpcap-dev