Documentation ¶
Index ¶
- func Capture(cmd *cobra.Command, args []string)
- type Department
- type Flows
- type PC
- type PCList
- type ProtocolCommand
- type ProtocolCommandBase
- func (pcb *ProtocolCommandBase) Command() uint16
- func (pcb *ProtocolCommandBase) Data() []byte
- func (pcb *ProtocolCommandBase) Department() uint16
- func (pcb *ProtocolCommandBase) Length() int
- func (pcb *ProtocolCommandBase) OperationCode() uint16
- func (pcb *ProtocolCommandBase) RawData() []byte
- func (pcb *ProtocolCommandBase) String() string
- func (pcb *ProtocolCommandBase) Type() string
- type RawPCList
- type Shine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Department ¶
type PCList ¶
type PCList struct {
Departments map[uint8]Department
}
type ProtocolCommand ¶
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"`
}
Click to show internal directories.
Click to hide internal directories.