bash git clone https://github.com/patterniha/SNI-Spoofing.git cd SNI-Spoofing pip install -r requirements.txt bash pip install scapy bash Drop kernel RST packets for the port you're intercepting sudo iptables -A OUTPUT -p tcp --tcp-flags RST RST -j DROP SNI-Spoofing/ ├── main.py # Entry point / core proxy logic ├── sni.py # SNI extraction and packet splitting ├── utils.py # Helper functions (checksum, headers) └── requirements.txt python def extract sni(data: bytes) - str | None: """ Extract the SNI hostname from a raw TLS ClientHello payload. Returns None if not found. """ try: if data[0] !=…