简体   繁体   中英

Intercept traffic from android app

I need to intercept requests from the mobile application to take advantage of its internal api. In the application there is a chat, I need to receive the information that the server periodically sends to the application. For this, I installed Genymotion with the Xposed + module to bypass SSLPinning and Fiddler as a proxy (tried also Charles). After that I see some of the traffic from the application (long-polling requests), but the events I need are not displayed, although the application still receives them and displays them.

Can I somehow intercept absolutely all traffic from the application and what should I do to do this? Thank you in advance)

  1. On Fiddler side you have to enable in the settings Allow remote computers to connect .

  2. You also need the IP address of your computer in your home network, eg 192.168.0.13

Now start the virtual device and configure the proxy (taken from Genymotion FAQ ):

How do I configure proxy settings in my virtual device? In your virtual device:

  1. Click Menu > System settings.
  2. In Wireless & Networks, select Wi-Fi.
  3. Click WiredSSID and hold it down for two seconds.
  4. Click Modify Network.
  5. Check Show advanced options.
  6. In Proxy settings, select Manual.
  7. Enter the proxy settings ( the noted IP address of step 2 of your PC and port 8888 )
  8. Click Save.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM