Skip to content
四月 8, 2011 / wychi

How to sniffer http calls on Android devices?

Problems

Solution

Use intercepting proxy server.

On emulator, start the emulator with “-http-proxy” parameter.
On real device, you have to modify you code to use proxy.

For HTTPs, you have to add proxy’s certification into device. Here is the reference.

When you sniffer a HTTPs connction via intercepting proxy, pay more attention to those area.

  • Is proxy reachable? ( firewall setting )
  • Does proxy accept remote connections? (ex: fiddler )
  • Does the keystore contain the certification of target site?

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

Google+ photo

You are commenting using your Google+ account. Log Out / 變更 )

連結到 %s

%d 位部落客按了讚: