Skip to content

Instantly share code, notes, and snippets.

@samudary
Forked from miguelmota/instructions.sh
Created April 26, 2023 20:29
Show Gist options
  • Save samudary/0da794640ceab66f08c358de18ff1a1d to your computer and use it in GitHub Desktop.
Save samudary/0da794640ceab66f08c358de18ff1a1d to your computer and use it in GitHub Desktop.
linux wireshark SSLKEYLOGFILE ssl decrypt curl
sudo wireshark
# go to:
# Edit -> Preferences -> Protocols -> TLS (you can type) -> under "(Pre)-Master-Secret log filename
" enter in input "/tmp/ssl-key.log"
# then start capture
# curl
SSLKEYLOGFILE=/tmp/ssl-key.log curl https://example.com
# firefox (don't forget to disable http2 in about:config and restart)
SSLKEYLOGFILE=/tmp/ssl-key.log firefox-developer-edition
# google chrome
google-chrome-stable --ssl-key-log-file=/tmp/ssl-key.log --disable-http2 --disable-http3 --disable-quic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment