WireShark捕获HTTPS

firefox,chrome会将 TLS 会话中使用的对称密钥保存在外部文件中。

1.建立环境变量

linux,mac 使用export建立变量:export SSLKEYLOGFILE=/tmp/ssl.key

2.打开wireshark>>>Edit>>>Preferences>>>Protocols>>>ssl>>>填入路径


3.开始抓包,通过chrome或firefox走的https流量会自动解密

猜你喜欢

转载自www.cnblogs.com/blogg/p/9201779.html
今日推荐