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

您的留言將使用 WordPress.com 帳號。 登出 / 變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 / 變更 )

Facebook照片

您的留言將使用 Facebook 帳號。 登出 / 變更 )

Google+ photo

您的留言將使用 Google+ 帳號。 登出 / 變更 )

連結到 %s

%d 位部落客按了讚: