Skip to content

Instantly share code, notes, and snippets.

@gadiener
Last active March 8, 2021 17:01
Show Gist options
  • Save gadiener/fcc17ebdda898ef24c38e887d7b0c567 to your computer and use it in GitHub Desktop.
Save gadiener/fcc17ebdda898ef24c38e887d7b0c567 to your computer and use it in GitHub Desktop.
SNI Client Hello Check with tcpdump
#!/bin/sh
tcpdump -i any -s 1500 '(tcp[((tcp[12:1] & 0xf0) >> 2)+5:1] = 0x01) and (tcp[((tcp[12:1] & 0xf0) >> 2):1] = 0x16)' -An
# sudo tcpdump dst port 9443 -A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment