How to sniff android network ?
1 min readJul 11, 2018
I choose mitmproxy — https proxy, python friendly.
- Connect PC, android in same network.
- Install mitmproxy in your PC and start it.
- Modify android wifi setting, use PC ip as proxy host, default port is 8080.
- Now every android HTTP request will pass through PC proxy. You can monitor via proxy log/web-log.
- If you need to sniff HTTPS, You must install mitmproxy cert by enter http://mitm.it from android. Click android robot, download and install mitmproxy cert.
Sometimes you may find “No internet” message in wifi icon, I think this is proxy bug. You can fix by forget wifi network and reconnect again with same proxy setting.
Happy sniffing :)
References