Skip to content

Latest commit

 

History

History
46 lines (38 loc) · 2.06 KB

File metadata and controls

46 lines (38 loc) · 2.06 KB

Instructions for setting up interceptor

Using mitmproxy

Requirements

Instructions

  • Install mitmproxy
  • Run mitmweb --ssl-insecure from a terminal
  • Configure Android to use the proxy:
    • Settings
    • Network & Internet
    • Internet
    • Settings cog (beside WiFi network name)
    • Pencil (in the top right)
    • Open "Advanced options"
    • Change "Proxy" to "Manual"
    • Set "Proxy hostname" to the proxy IP address
    • Set "Proxy port" to 8080
  • Filter HTTP requests by searching for "command=".
  • Open the WiiM Home app and start clicking various options in the app. The respective HTTP requests will appear in the HTTP interceptor. mitmweb example
  • When done, don't forget to change "Proxy" back to "None"

Using HTTP Toolkit PRO

Requirements

  • Android device (emulators can be used)
  • WiiM Home app
  • HTTP Toolkit PRO - installed on both the Android device and a PC
    • You need the PRO version in order to allow trusting the self-signed SSL certificate on the WiiM device.
    • The non-PRO version can be used to see the what requests the app makes, but they won't be forwarded to the device.

Instructions

  • Make sure the WiiM device is set up in the application
  • In HTTP Toolkit on the PC, navigate to Settings -> HOST HTTPS WHITELIST -> Add the IP address of the WiiM device image
  • Start the HTTP Toolkit with the Android device (via ADB or QR code)
  • Filter HTTP requests using the "command=" string.
  • Open the WiiM Home app and start clicking various options in the app. The respective HTTP requests will appear in the HTTP interceptor. image