40t / go-sniffer

🔎Sniffing and parsing mysql,redis,http,mongodb etc protocol. 抓包截取项目中的数据库请求并解析成相应的语句。
MIT License
1.89k stars 357 forks source link

异常退出,不给? #4

Closed zackzhan closed 5 years ago

zackzhan commented 6 years ago

panic: runtime error: index out of range

goroutine 7 [running]: github.com/40t/go-sniffer/plugSrc/mysql/build.(stream).resolveServerPacket(0xc420056d80, 0xc4204cd000, 0x0, 0x200, 0xb) /data/go/src/github.com/40t/go-sniffer/plugSrc/mysql/build/entry.go:219 +0x442 github.com/40t/go-sniffer/plugSrc/mysql/build.(stream).resolve(0xc420056d80) /data/go/src/github.com/40t/go-sniffer/plugSrc/mysql/build/entry.go:194 +0xc0 created by github.com/40t/go-sniffer/plugSrc/mysql/build.(*Mysql).ResolveStream /data/go/src/github.com/40t/go-sniffer/plugSrc/mysql/build/entry.go:71 +0x3b8

40t commented 6 years ago

最近事情比较多,我会在一周以内处理此问题

zackzhan commented 5 years ago

主要是sequel Pro 1.1.2软件导致,必现

40t commented 5 years ago

fix done