Android : Capturing HTTP Requests with non-rooted android device

后端 未结 8 1091
说谎
说谎 2020-12-12 10:30

I have an android application which uses a third party jar in it. Http request is sent from third party jar to server when application is running. I need to capture HTTP R

相关标签:
8条回答
  • 2020-12-12 10:52

    Set a https://mitmproxy.org/ as proxy on a same LAN

    • Open Source
    • Built in python 3
    • Installable via pip
    0 讨论(0)
  • 2020-12-12 10:56

    There is many ways to do that but one of them is fiddler

    Fiddler Configuration

    1. Go to options
    2. In HTTPS tab, enable Capture HTTPS Connects and Decrypt HTTPS traffic
    3. In Connections tab, enable Allow remote computers to connect
    4. Restart fiddler

    Android Configuration

    1. Connect to same network
    2. Modify network settings
    3. Add proxy for connection with your PC's IP address ( or hostname ) and default fiddler's port ( 8888 / you can change that in settings )

    Now you can see full log from your device in fiddler

    Also you can find a full instruction here

    0 讨论(0)
提交回复
热议问题