[PYTHON] Until you confirm iOS communication with mitmproxy

I want to see the communication of squid ring 2! I personally fell in love with only one place on iOS, so make a note.

Reference: http://qiita.com/hkurokawa/items/9034274cc1b9e1405c68

pip installation

  1. Download get-pip.py from here
  2. Move to the directory containing get-pip.py and install
python get-pip.py

mitmproxy installation

  1. Install normally
pip install mitmproxy

iOS settings

  1. Settings> Wi-Fi> Make a proxy server Connect to the same network as the machine
  2. Change the HTTP proxy at the bottom of the network settings (i mark) to manual
  3. Set as follows
  4. Server: IP of the machine to be the proxy server
  5. Port: 8080 (anything is fine)
  6. Authentication: Off

Start mitmproxy

  1. Start normally
mitmproxy

Certificate installation

  1. Open Safari on iOS and go to http://mitm.it
  2. Tap the apple mark to install the certificate

Start squid ring!

But I can't see it. There is a communication error.

Validate the certificate

Turn on Settings> General> Information> Certificate Trust Settings> mitmproxy </ font>. I saw various sites but for some reason I didn't write them.

I was able to start it.

All you have to do is look at the request that says splatoon2. スクリーンショット 2017-08-25 4.07.58.png

Recommended Posts

Until you confirm iOS communication with mitmproxy
Until you start Jupyter with Docker
Until you run python with apache
Until you shake ruby with renpy
Note until you use emacs with WSL
Until you can use opencv with python
Until you CI what you made with Django with Jenkins
Until you use the Kaggle API with Colab
Until you use PhantomJS with Python on Heroku
[GitHub] Until you pull with ssh using Deploy keys
Until you install TensorFlow-GPU with pip in Windows environment
Until you can do simple image recognition with Jupyter
Serial communication with Python
Socket communication with Python
Serial communication with python
Until you install MySQL-python
HTTP communication with Python
Until you can install your own Python library with pip