+
104
-

回答

使用SSLKEYLOGFILE实现

设置环境变量:在系统环境变量中设置SSLKEYLOGFILE,指定一个日志文件路径,例如D:\desktop\sslkey.log。这个文件将用于记录浏览器在TLS握手过程中使用的密钥。800_auto

800_auto

配置Wireshark:在Wireshark的首选项中,找到Protocols -> TLS,设置Pre-Master-Secret log filename为之前设置的日志文件路径。

800_auto

重启chrome或firefox浏览器,在浏览器中访问HTTPS网站,Wireshark将能够解密HTTPS数据包。

800_auto

网友回复

我知道答案,我要回答