10/7/2023 0 Comments Mitmproxy dockerTo Run mitmproxy listening on the WiFi network open a new terminal window or tab and execute: sudo docker run -rm -it -v ~/.mitmproxy:/home/mitmproxy/.mitmproxy -p 192.168.0.08:8080:8080 mitmproxy/mitmproxy:6.0.2 mitmproxy -showhost -view-filter "approov" The IP address 192.168.0.08 will be necessary to start the mitmproxy and the emulator, thus you should replace it with your own one in any subsequent command you find it being used. You should see something like this: 3: wlp3s0: mtu 1500 qdisc noqueue state UP group default qlen 1000 To find the wifi ip address: ip address | grep -i wlp. Find the WiFi IP Address The emulator will need to reach the proxy via the wifi network where mitimproxy will be listening on port 8080. To start mitmproxy we also need to provide the IP address where it will be listening to, and we will use our WiFI IP address because it will be later easy to proxy the emulator through it. Platform: Linux-5.4.0-71-generic-x86_64-withīefore we add the mitmproxy certificate to the emulator’s system trusted store we need to first start mitmproxy, so that its certificate is created at ~/.mitmproxy. The output should look like this: Mitmproxy: 6.0.2 Test it works with: sudo docker run -rm -it mitmproxy/mitmproxy:6.0.2 mitmproxy -version In order to intercept the traffic we will need a proxy interceptor tool, and in this tutorial we will use the mitmproxy CLI interface from within a docker container, but feel free to install it by using any other method listed in their docs.ĭownload the mitmproxy docker image: sudo docker pull mitmproxy/mitmproxy:6.0.2
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |