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

1.建立环境变量

WireShark捕获HTTPS

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

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

WireShark捕获HTTPS

 


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

WireShark捕获HTTPS

 

相关文章:

  • 2021-12-01
  • 2021-09-29
  • 2021-08-03
  • 2022-01-11
  • 2021-07-03
  • 2022-01-08
猜你喜欢
  • 2021-11-28
  • 2021-03-31
  • 2022-01-31
  • 2021-11-21
  • 2021-06-29
  • 2021-11-27
相关资源
相似解决方案