MITM null app for SSLproxy. Can be used for inspecting arbitrary SSL encrypted traffic.
Using
Edit the /usr/include/commoncpp/socket.h and make Socket::readData & Socket::writeData public.
Compile & install SSLproxy
Create the MITM entry in sslproxy.conf:
User nobody
Group nobody
ProxySpec ssl 127.0.0.1 8443 up:8080
Run SSLproxy
Create some network redirect, for ex.:
iptables -t nat -A OUTPUT -p tcp --dport 443 -m owner ! --uid-owner nobody -j DNAT --to 127.0.0.1:8443
Compile & run mitmapp as
./bmitm 8080
Run the sample app, for ex.:
curl --compressed -L -k https://google.com
Enjoy !