Capture all of your http connection

Web

mitmproxy

Use and abuse of a hackable SSL-capable man-in-the-middle proxy. Command line friendly.

Server Installnation

1
2
3
4
5
6
# pull the image 
docker pull mitmproxy/mitmproxy

# ~/.mitmproxy locate your certs that you need to install to your client
# 8080 port
docker run --rm -it -v ~/.mitmproxy:/home/mitmproxy/.mitmproxy -p 8080:8080 mitmproxy/mitmproxy

Test through curl

1
2
3
4
5
6
7
# http connect to example
http_proxy=http://localhost:8080/ curl http://example.com/

# https connect to example
https_proxy=http://localhost:8080/ curl -k https://example.com/

# Go back to your docker console your will get the previous connections

iPHone Client Setup

http://jasdev.me/intercepting-ios-traffic (PLEASE FORGET YOUR NETWORK AND JOIN AGAIN WITH PROXY SETTING if you are using wifi)

Reference

https://github.com/mitmproxy/mitmproxy