How to sniff android network ?

diewland.eth
1 min readJul 11, 2018

--

I choose mitmproxy — https proxy, python friendly.

  1. Connect PC, android in same network.
  2. Install mitmproxy in your PC and start it.
  3. Modify android wifi setting, use PC ip as proxy host, default port is 8080.
  4. Now every android HTTP request will pass through PC proxy. You can monitor via proxy log/web-log.
  5. 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

--

--

No responses yet