MITMPcap - A Script that allows you to capture pcaps with TLS secrets for later analysis in Wireshark ยท GitHub

https://gist.github.com/c3rb3ru5d3d53c/d9eb9d752882fcc630d338a6b2461777