This article takes the Mac as the proxy, the iOS handset as the client example.
Document Address: http://anyproxy.io/
1. Environment configuration:
Install node: reference https://www.jianshu.com/p/3b30c4c846d1
Installing homebrew
" $ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install) "
Install node
brew link nodebrew uninstall nodebrew install node
安装
anyproxy
npm install -g anyproxy
Proxy default Port 8001
Web default port 8002
2. Mobile Agent Configuration
WiFi Settings--Proxy settings--manual--Address for Mac IP, port fill 8001
Connection verification: Browser input 127.0.0.1:8002, mobile phone casually access to the app or browser, the effect is as follows:
You can only monitor HTTP at this time, and you need to download the CA certificate if you want to monitor HTTPS.
3. Certificate download
Click here to show the downloaded QR Code, scanned by mobile phone download, pro-Test QQ browser scan download can be downloaded and installed successfully.
A 2-step operation is required after the installation is complete:
A: Mobile phone descriptive file trust the certificate: Settings-General--descriptive file and device management--Find file--trust
B: Set--general--about the machine--Certificate trust settings--trust
OK, the configuration is complete, at this time in the webpage 127.0.0.1:8002 can monitor the phone HTTPS request.
3. Filter settings
4.request
Click the specific URL, select request to see, where body is the post of the Formdata.
5.response
Preview can display the results in a humane.
6. Agent WebSocket
Anyproxy--ws-Intercept when an HTTPS proxy is enabled, WSS is also proxied, but it is not recorded by Anyproxy. You need to turn on--ws-intercept before you see the content from the interface.
OK, share complete, wish to have a good friend can find a girlfriend.
Mac Grab Bag tool Anyproxy