mirror of https://github.com/40t/go-sniffer.git
update README
This commit is contained in:
parent
27002e3cca
commit
a3bd2e3501
10
README.md
10
README.md
|
@ -2,7 +2,9 @@
|
||||||
# go-sniffer
|
# go-sniffer
|
||||||
|
|
||||||
> 捕获mysql,redis,http,mongodb等协议...完善中
|
> 捕获mysql,redis,http,mongodb等协议...完善中
|
||||||
> 方便调试项目中的数据请求。
|
> - 抓取项目中的数据库请求,如:执行的mysql查询语句
|
||||||
|
> - 不需要修改项目代码,通过指定端口抓包解析协议
|
||||||
|
> - 快速预览项目中所有的数据请求,便于程序调试
|
||||||
|
|
||||||
[](https://github.com/40t/go-sniffer/blob/master/LICENSE)
|
[](https://github.com/40t/go-sniffer/blob/master/LICENSE)
|
||||||
|
|
||||||
|
@ -71,20 +73,20 @@ $ go run main.go
|
||||||
### mysql
|
### mysql
|
||||||
> 支持预处理语句等常大部分语句
|
> 支持预处理语句等常大部分语句
|
||||||
``` bash
|
``` bash
|
||||||
$ gosniffer [设备名] mysql [参数]
|
$ go-sniffer [设备名] mysql [参数]
|
||||||
-p 置顶端口,默认3306
|
-p 置顶端口,默认3306
|
||||||
```
|
```
|
||||||

|

|
||||||
|
|
||||||
### http
|
### http
|
||||||
``` bash
|
``` bash
|
||||||
$ gosniffer [设备名] http [参数]
|
$ go-sniffer [设备名] http [参数]
|
||||||
-p 置顶端口,默认80
|
-p 置顶端口,默认80
|
||||||
```
|
```
|
||||||

|

|
||||||
### redis
|
### redis
|
||||||
``` bash
|
``` bash
|
||||||
$ gosniffer [设备名] redis [参数]
|
$ go-sniffer [设备名] redis [参数]
|
||||||
-p 置顶端口,默认6379
|
-p 置顶端口,默认6379
|
||||||
```
|
```
|
||||||

|

|
||||||
|
|
Loading…
Reference in New Issue