cassandra matcher

This commit is contained in:
insanity@loafle.com 2017-08-09 18:22:57 +09:00
parent d99a76ad42
commit ebf2befd77
2 changed files with 2 additions and 7 deletions

View File

@ -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

View File

@ -1,6 +1,5 @@
package dhcp
import (
"bytes"
"encoding/binary"