A lightweight TCP/TLS DPI-bypass tool that forges an outbound TLS ClientHello with a whitelisted SNI before your real handshake.
When outbound_tls_spoof is enabled, the tool:
- Opens a normal TCP connection to
CONNECT_IP:CONNECT_PORT. - Sends a forged TLS
ClientHellocontainingFAKE_SNI. - Waits for ACK behavior expected by the selected bypass mode (
wrong_seq). - Starts relaying your real TLS stream.
This can help against middleboxes that make early SNI-based decisions.
{
"LISTEN_HOST": "0.0.0.0",
"LISTEN_PORT": 40443,
"CONNECT_IP": "188.114.98.0",
"CONNECT_PORT": 443,
"FAKE_SNI": "auth.vercel.com",
"outbound_tls_spoof": true,
"spoof_method": "single",
"randomized_fingerprint": true,
"fragmentaion": false,
"fragment_min_size": 24,
"fragment_max_size": 96
}LISTEN_HOST,LISTEN_PORT: local listener.CONNECT_IP,CONNECT_PORT: upstream destination.FAKE_SNI: whitelisted SNI placed into the forged ClientHello.outbound_tls_spoof:true= forged ClientHello is injected before relay.false= plain TCP relay (no spoof stage).
spoof_method:single= one forged TCP packet for ClientHello.fragmented_random= split ClientHello into randomized fragment sizes.
randomized_fingerprint:- randomizes TLS fingerprint details (cipher order, extension order, supported_groups order) while preserving the chosen SNI.
fragmentaion(kept with existing spelling for compatibility):trueforcesfragmented_randomspoofing.
fragment_min_size,fragment_max_size: min/max bytes per random fragment.
pip install -r requirements.txt
python main.pyNote: This project depends on WinDivert/pydivert behavior for packet interception and injection.