.
This commit is contained in:
parent
74b626cd9d
commit
cf81c9a442
|
@ -65,7 +65,7 @@ func (s *SocketHeahthCrawler) CheckHeahth(params map[string]interface{}) (bool,
|
||||||
return false, nil
|
return false, nil
|
||||||
} 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)
|
||||||
conn.Write(pack.Buffer)
|
conn.Write(pack.Buffer)
|
||||||
bytes := make([]byte, 1024)
|
bytes := make([]byte, 1024)
|
||||||
|
@ -84,7 +84,7 @@ func (s *SocketHeahthCrawler) CheckHeahth(params map[string]interface{}) (bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
for i := 0 ; i < s.m.PacketCount(); i++ {
|
for i := 0; i < s.m.PacketCount(); i++ {
|
||||||
pack := s.m.Packet(i)
|
pack := s.m.Packet(i)
|
||||||
conn.Write(pack.Buffer)
|
conn.Write(pack.Buffer)
|
||||||
bytes := make([]byte, 1024)
|
bytes := make([]byte, 1024)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user