.
This commit is contained in:
parent
cf81c9a442
commit
55682d7d39
|
@ -66,7 +66,7 @@ func (s *SocketHeahthCrawler) CheckHeahth(params map[string]interface{}) (bool,
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
for i := 1; i < s.m.PacketCount(); i++ {
|
for i := 1; i < s.m.PacketCount(); i++ {
|
||||||
pack := s.m.Packet(i)
|
pack := s.m.Packet(i-1)
|
||||||
conn.Write(pack.Buffer)
|
conn.Write(pack.Buffer)
|
||||||
bytes := make([]byte, 1024)
|
bytes := make([]byte, 1024)
|
||||||
n, _ := conn.Read(bytes)
|
n, _ := conn.Read(bytes)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user