Last active
October 11, 2023 06:25
-
-
Save miguelmota/a24762b25ebfb32d707ee6452b32227d to your computer and use it in GitHub Desktop.
linux wireshark SSLKEYLOGFILE ssl decrypt curl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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