~ brew update
~ brew install node
~ node --version
~ 安装稳定正式版
$ npm install -g anyproxy
~ 最新测试版,需要使用最新版本 node 进行安装
$ npm install -g anyproxy@beta
~ 有时需要添加 sudo
~ anyproxy
~ anyproxy
[AnyProxy Log][2018-12-26 11:42:19]: Http proxy started on port 8001
[AnyProxy Log][2018-12-26 11:42:19]: web interface started on port 8002
http://192.168.0.195:8002/ 或 http://127.0.0.1:8002/
// 稳定版本生成方法
~ sudo anyproxy --root
// 最新版本生成方法
~ anyproxy-ca
~ anyproxy --intercept
// 简写
~ anyproxy -i
~ anyproxy -i
[AnyProxy WARN][2018-12-26 11:55:54]: ROOT CA NOT INSTALLED YET
? The rootCA is not trusted yet, install it to the trust store now? Yes
[AnyProxy Log][2018-12-26 11:56:03]: About to trust the root CA, this may requires your password
Password:
[AnyProxy Log][2018-12-26 11:56:07]: Root CA install, you are ready to intercept the https now
[AnyProxy Log][2018-12-26 11:56:07]: The root CA file path is: /Users/xmaczone/.anyproxy/certificates/rootCA.crt
[AnyProxy Log][2018-12-26 11:56:08]: Http proxy started on port 8001
[AnyProxy Log][2018-12-26 11:56:08]: web interface started on port 8002
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) | Powered by Discuz! X3.2 |