MAC下使用Wireshark调试chrome浏览器的HTTP/2流量
2021-03-29 13:26
标签:touch ref cat logfile google chrome tls 令行 amp 1.设置环境变量 2.设置wireshark的解密密钥文件地址 3.通过命令行启动chrome 4.抓包 参考:https://imququ.com/post/http2-traffic-in-wireshark.html MAC下使用Wireshark调试chrome浏览器的HTTP/2流量 标签:touch ref cat logfile google chrome tls 令行 amp 原文地址:https://www.cnblogs.com/fanyegong/p/12608983.htmlmkdir ~/tls && touch ~/tls/sslkeylog.log
#zsh
echo "\nexport SSLKEYLOGFILE=~/tls/sslkeylog.log" >> ~/.zshrc && source ~/.zshrc
#bash
echo "\nexport SSLKEYLOGFILE=~/tls/sslkeylog.log" >> ~/.bash_profile && . ~/.bash_profile
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --user-data-dir=/tmp/chrome --ssl-key-log-file=~/tls/sslkeylog.log
文章标题:MAC下使用Wireshark调试chrome浏览器的HTTP/2流量
文章链接:http://soscw.com/essay/69535.html