|
|
@ -11,9 +11,9 @@ 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 |
|
|
|
go build |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
## 例子 |
|
|
|
## 例子 |
|
|
@ -21,19 +21,19 @@ gomitmproxy是想用golang语言实现的[mitmproxy](https://mitmproxy.org/), |
|
|
|
* http代理 |
|
|
|
* http代理 |
|
|
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
```bash |
|
|
|
gomitmproxy |
|
|
|
gomitmproxy |
|
|
|
``` |
|
|
|
``` |
|
|
|
不带任何参数,表示http代理,默认端口8080,更改端口用 -port |
|
|
|
不带任何参数,表示http代理,默认端口8080,更改端口用 -port |
|
|
|
|
|
|
|
|
|
|
|
* http抓包 |
|
|
|
* http抓包 |
|
|
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
```bash |
|
|
|
gomitmproxy -m |
|
|
|
gomitmproxy -m |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
![fetch http](https://raw.githubusercontent.com/sheepbao/gomitmproxy/master/goproxy.png) |
|
|
|
![fetch http](https://raw.githubusercontent.com/sheepbao/gomitmproxy/develop/goproxy.png) |
|
|
|
|
|
|
|
|
|
|
|
加-m参数,表示抓取http请求和响应 |
|
|
|
加 -m 参数,表示抓取http请求和响应 |
|
|
|
|
|
|
|
|
|
|
|
* http代理科学上网 |
|
|
|
* http代理科学上网 |
|
|
|
|
|
|
|
|
|
|
|