记录SSL/TLS密钥以解密SSL/TLS连接
sslkeylog的Python项目详细描述
这是SSLKEYLOGFILE工具的一个实现,在firefox和 chromium/google chrome,wireshark支持它来解密ssl/tls连接 即使您没有私钥,或者使用将阻止 即使你解密(比如Diffie Hellman)。
这是针对标准库ssl模块的,对于其他ssl模块不起作用。
快速启动
importsslkeylogsslkeylog.set_keylog("sslkeylog.txt")# Do anything involving SSL (Using the built-in ssl module)
并在wireshark的ssl协议首选项中将“(pre-master secret log filename)”设置为 文件。
许可证
mit许可证,除了openssl,它是在自己的许可证下授权的。请参见license.txt
本产品包括由openssl项目开发的软件 用于openssl工具包(http://www.openssl.org/)