lib

package
v0.0.0-...-a95af08 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2020 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Capture

func Capture(cmd *cobra.Command, args []string)

Types

type Department

type Department struct {
	HexId             string `yaml:"hexId"`
	Name              string `yaml:"name"`
	RawCommands       string `yaml:"commands"`
	ProcessedCommands map[string]string
}

type Flows

type Flows struct {
	// contains filtered or unexported fields
}

type PC

type PC struct {
	// contains filtered or unexported fields
}

type PCList

type PCList struct {
	Departments map[uint8]Department
}

type ProtocolCommand

type ProtocolCommand interface {
	Type() int
	Length() int
	Department() uint16
	Command() uint16
	OperationCode() uint16
	Data() []byte
	RawData() []byte
	String() string
}

type ProtocolCommandBase

type ProtocolCommandBase struct {
	// contains filtered or unexported fields
}

func (*ProtocolCommandBase) Command

func (pcb *ProtocolCommandBase) Command() uint16

network command category action inside the Client [ more info with the leaked pdb ]

func (*ProtocolCommandBase) Data

func (pcb *ProtocolCommandBase) Data() []byte

func (*ProtocolCommandBase) Department

func (pcb *ProtocolCommandBase) Department() uint16

network command category inside the Client [ more info with the leaked pdb ]

func (*ProtocolCommandBase) Length

func (pcb *ProtocolCommandBase) Length() int

func (*ProtocolCommandBase) OperationCode

func (pcb *ProtocolCommandBase) OperationCode() uint16

a.k.a packet header

func (*ProtocolCommandBase) RawData

func (pcb *ProtocolCommandBase) RawData() []byte

reassemble packet raw data

func (*ProtocolCommandBase) String

func (pcb *ProtocolCommandBase) String() string

readable packet format

func (*ProtocolCommandBase) Type

func (pcb *ProtocolCommandBase) Type() string

big or small packet

type RawPCList

type RawPCList struct {
	Departments []Department `yaml:"departments,flow"`
}

type Shine

type Shine struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL