06-12-2022, 09:10 PM
最近尝试逆向一个 VPN 协议,按照 OpenConnect 官方的教程,用 mitmproxy 拦截 TLS 流量。
https://www.infradead.org/openconnect/mitm.html
看了 mitmproxy 的文档之后,发现操作非常简单,就是用 iptables 把从虚拟机网卡流出的某个 TCP 端口的流量重定向到 mitmproxy 的监听端口就行了。
https://docs.mitmproxy.org/stable/howto-...arent-vms/
https://www.infradead.org/openconnect/mitm.html
看了 mitmproxy 的文档之后,发现操作非常简单,就是用 iptables 把从虚拟机网卡流出的某个 TCP 端口的流量重定向到 mitmproxy 的监听端口就行了。
https://docs.mitmproxy.org/stable/howto-...arent-vms/