cassandra matcher
This commit is contained in:
parent
d99a76ad42
commit
ebf2befd77
@ -7,11 +7,6 @@ import (
|
||||
"git.loafle.net/overflow/overflow_probe/model/scaninfo"
|
||||
)
|
||||
|
||||
const (
|
||||
COMPRESSION = "COMPRESSION"
|
||||
CQL_VERSION = "CQL_VERSION"
|
||||
)
|
||||
|
||||
type cassandra struct {
|
||||
Version uint8
|
||||
Flags uint8
|
||||
@ -90,7 +85,8 @@ func (t *CassandraMatcher) Match(index int, packet *packet.Packet, info scaninfo
|
||||
if c.Opcode != 0x06 {
|
||||
return false
|
||||
}
|
||||
var itemcount uint16
|
||||
|
||||
//var itemcount uint16
|
||||
|
||||
//if binary.Read(reader, binary.BigEndian, &itemcount) != nil {
|
||||
// return false
|
||||
|
@ -1,6 +1,5 @@
|
||||
package dhcp
|
||||
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"encoding/binary"
|
||||
|
Loading…
x
Reference in New Issue
Block a user