As mentioned in the title I'm looking forward to forcing some applications on my phone to use a proxy whom certificate in installed on my phone. Some applications (like Instagram, youtube ...etc) are using this proxy and I can sniff the communication between my phone and the proxy.

To make this work I need to use root permissions on my android. I found an app that may help me do this, but I want to use the terminal to achieve this.

Any ideas that could help me would be appreciated.

  • IMHO your approach is wrong. You will never be able to force every app to use your proxy. Therefore use a separate network that is connected via transparent proxy to the Internet. Then you don't have to configure anything on the device. – Robert May 24 '19 at 9:14
  • @Robert thank you for your response. If I'm not dreadfully wrong the proxy that I am using uses a VPN to encrypt the data coming from my applications, the VPN then send those data to a VPN server that will decrypt them and finally transmit them to my server. So I already have a separate private network that is automatically created by the proxy. I'm trying this new approach because it was suggested here and it seems to be efficient. – yosra May 24 '19 at 9:23
  • Can be helpful: How to set up a socks5 with Android cli?. – Irfan Latif Jun 18 '19 at 2:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.