Documentation ¶
Index ¶
- Constants
- type MaleficParser
- func (parser *MaleficParser) Marshal(spites *implantpb.Spites, sid uint32) ([]byte, error)
- func (parser *MaleficParser) Parse(buf []byte) (*implantpb.Spites, error)
- func (parser *MaleficParser) PeekHeader(conn *peek.Conn) (uint32, uint32, error)
- func (parser *MaleficParser) ReadHeader(conn *peek.Conn) (uint32, uint32, error)
Constants ¶
View Source
const ( MsgStart = 0 MsgSessionStart = 1 MsgSessionEnd = 5 HeaderLength = 9 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MaleficParser ¶
func NewMaleficParser ¶
func NewMaleficParser() *MaleficParser
func (*MaleficParser) Parse ¶
func (parser *MaleficParser) Parse(buf []byte) (*implantpb.Spites, error)
func (*MaleficParser) PeekHeader ¶
func (*MaleficParser) ReadHeader ¶
Click to show internal directories.
Click to hide internal directories.