diff --git a/README.md b/README.md index 3ef1b00..2098f7f 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ ## Support List: -- [Mysql](#Mysql) -- [Redis](#Redis) -- [Http](#Http) +- [mysql](#mysql) +- [Redis](#redis) +- [Http](#http) - ARP 测试中... - Mongodb 开发中... - Fast-cgi @@ -61,4 +61,24 @@ $ go run main.go [设备名] : en0 : x:x:x:x:x5:x 192.168.1.3 [设备名] : utun2 : 1.1.11.1 ======================================================================= -``` \ No newline at end of file +``` + +### mysql +``` bash +$ gosniffer [设备名] mysql [参数] +-p 置顶端口,默认3306 +``` +![image](https://github.com/40t/go-sniffer/raw/master/images/mysql.gif) + +### http +``` bash +$ gosniffer [设备名] http [参数] +-p 置顶端口,默认80 +``` +![image](https://github.com/40t/go-sniffer/raw/master/images/http.gif) +### redis +``` bash +$ gosniffer [设备名] redis [参数] +-p 置顶端口,默认6379 +``` +![image](https://github.com/40t/go-sniffer/raw/master/images/redis.gif) diff --git a/images/http.gif b/images/http.gif new file mode 100644 index 0000000..d751a00 Binary files /dev/null and b/images/http.gif differ diff --git a/images/mysql.gif b/images/mysql.gif new file mode 100644 index 0000000..bc88a33 Binary files /dev/null and b/images/mysql.gif differ diff --git a/images/redis.gif b/images/redis.gif new file mode 100644 index 0000000..605515b Binary files /dev/null and b/images/redis.gif differ