|
|
@ -22,7 +22,7 @@ gomitmproxy是想用golang语言实现的[mitmproxy](https://mitmproxy.org/), |
|
|
|
```bash |
|
|
|
```bash |
|
|
|
git clone https://github.com/sheepbao/gomitmproxy.git |
|
|
|
git clone https://github.com/sheepbao/gomitmproxy.git |
|
|
|
cd gomitmproxy |
|
|
|
cd gomitmproxy |
|
|
|
go build |
|
|
|
./build.sh |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
## 例子 |
|
|
|
## 例子 |
|
|
@ -40,7 +40,7 @@ gomitmproxy |
|
|
|
gomitmproxy -m |
|
|
|
gomitmproxy -m |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
![fetch http](https://raw.githubusercontent.com/sheepbao/gomitmproxy/develop/doc/goproxy.png) |
|
|
|
![fetch http](https://raw.githubusercontent.com/sheepbao/gomitmproxy/master/src/doc/goproxy.png) |
|
|
|
|
|
|
|
|
|
|
|
加 -m 参数,表示抓取http请求和响应 |
|
|
|
加 -m 参数,表示抓取http请求和响应 |
|
|
|
|
|
|
|
|
|
|
@ -59,7 +59,7 @@ gomitmproxy -m |
|
|
|
``` |
|
|
|
``` |
|
|
|
然后浏览器设置代理,ip为localhost,端口为8080,即可实现科学上网 |
|
|
|
然后浏览器设置代理,ip为localhost,端口为8080,即可实现科学上网 |
|
|
|
|
|
|
|
|
|
|
|
![proxy](https://raw.githubusercontent.com/sheepbao/gomitmproxy/develop/doc/proxy.png) |
|
|
|
![proxy](https://raw.githubusercontent.com/sheepbao/gomitmproxy/master/src/doc/proxy.png) |
|
|
|
|
|
|
|
|
|
|
|
## 最后 |
|
|
|
## 最后 |
|
|
|
|
|
|
|
|
|
|
|