Skip to content

Instantly share code, notes, and snippets.

@Anas-jaf
Forked from miguelmota/instructions.sh
Created July 11, 2023 10:53
Show Gist options
  • Save Anas-jaf/cd4db6623df0ca56f2c4494872074f26 to your computer and use it in GitHub Desktop.
Save Anas-jaf/cd4db6623df0ca56f2c4494872074f26 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