How to get plain text of a https package sent from my program? There is a tcpdump on my system. thanks.
Use tshark, a wireshark-like commandline tool.
Example usage (with parameters that fit MY system) :
tshark -i eth1 port 443 -o "ssl.keys_list:any,443,http,/path/to/your/server.key" -o ssl.debug_file:"/home/your_user/ssl_debug.log"
Of course, replace "eth1" with your interface. The ssl_debug.log is "just in case".
You can parse more of the data (headers,..) like this
tshark documentation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With