stream

package
v0.0.0-...-f6bba44 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAdminServer

func RegisterAdminServer(s *grpc.Server, srv AdminServer)

func RegisterImplantServer

func RegisterImplantServer(s *grpc.Server, srv ImplantServer)

Types

type AdminClient

type AdminClient interface {
	RunCommand(ctx context.Context, in *Command, opts ...grpc.CallOption) (*Command, error)
	RunTask(ctx context.Context, in *Task, opts ...grpc.CallOption) (*Task, error)
	RunAll(ctx context.Context, in *All, opts ...grpc.CallOption) (*All, error)
	RegisterImplant(ctx context.Context, in *ImplantAgent, opts ...grpc.CallOption) (*Session, error)
	ImplantInteract(ctx context.Context, in *Interact, opts ...grpc.CallOption) (*Interact, error)
}

AdminClient is the client API for Admin service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAdminClient

func NewAdminClient(cc grpc.ClientConnInterface) AdminClient

type AdminServer

type AdminServer interface {
	RunCommand(context.Context, *Command) (*Command, error)
	RunTask(context.Context, *Task) (*Task, error)
	RunAll(context.Context, *All) (*All, error)
	RegisterImplant(context.Context, *ImplantAgent) (*Session, error)
	ImplantInteract(context.Context, *Interact) (*Interact, error)
}

AdminServer is the server API for Admin service.

type All

type All struct {
	Command              *Command  `protobuf:"bytes,1,opt,name=Command,proto3" json:"Command,omitempty"`
	Interact             *Interact `protobuf:"bytes,2,opt,name=Interact,proto3" json:"Interact,omitempty"`
	Task                 *Task     `protobuf:"bytes,3,opt,name=Task,proto3" json:"Task,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*All) Descriptor

func (*All) Descriptor() ([]byte, []int)

func (*All) GetCommand

func (m *All) GetCommand() *Command

func (*All) GetInteract

func (m *All) GetInteract() *Interact

func (*All) GetTask

func (m *All) GetTask() *Task

func (*All) ProtoMessage

func (*All) ProtoMessage()

func (*All) Reset

func (m *All) Reset()

func (*All) String

func (m *All) String() string

func (*All) XXX_DiscardUnknown

func (m *All) XXX_DiscardUnknown()

func (*All) XXX_Marshal

func (m *All) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*All) XXX_Merge

func (m *All) XXX_Merge(src proto.Message)

func (*All) XXX_Size

func (m *All) XXX_Size() int

func (*All) XXX_Unmarshal

func (m *All) XXX_Unmarshal(b []byte) error

type Command

type Command struct {
	In                   string   `protobuf:"bytes,1,opt,name=In,proto3" json:"In,omitempty"`
	Out                  string   `protobuf:"bytes,2,opt,name=Out,proto3" json:"Out,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Command) Descriptor

func (*Command) Descriptor() ([]byte, []int)

func (*Command) GetIn

func (m *Command) GetIn() string

func (*Command) GetOut

func (m *Command) GetOut() string

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) Reset

func (m *Command) Reset()

func (*Command) String

func (m *Command) String() string

func (*Command) XXX_DiscardUnknown

func (m *Command) XXX_DiscardUnknown()

func (*Command) XXX_Marshal

func (m *Command) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Command) XXX_Merge

func (m *Command) XXX_Merge(src proto.Message)

func (*Command) XXX_Size

func (m *Command) XXX_Size() int

func (*Command) XXX_Unmarshal

func (m *Command) XXX_Unmarshal(b []byte) error

type Empty

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Empty) Descriptor

func (*Empty) Descriptor() ([]byte, []int)

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Empty) XXX_Merge

func (m *Empty) XXX_Merge(src proto.Message)

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

func (m *Empty) XXX_Unmarshal(b []byte) error

type ImplantAgent

type ImplantAgent struct {
	AgentId              string   `protobuf:"bytes,1,opt,name=AgentId,proto3" json:"AgentId,omitempty"`
	Sessioin             *Session `protobuf:"bytes,2,opt,name=Sessioin,proto3" json:"Sessioin,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImplantAgent) Descriptor

func (*ImplantAgent) Descriptor() ([]byte, []int)

func (*ImplantAgent) GetAgentId

func (m *ImplantAgent) GetAgentId() string

func (*ImplantAgent) GetSessioin

func (m *ImplantAgent) GetSessioin() *Session

func (*ImplantAgent) ProtoMessage

func (*ImplantAgent) ProtoMessage()

func (*ImplantAgent) Reset

func (m *ImplantAgent) Reset()

func (*ImplantAgent) String

func (m *ImplantAgent) String() string

func (*ImplantAgent) XXX_DiscardUnknown

func (m *ImplantAgent) XXX_DiscardUnknown()

func (*ImplantAgent) XXX_Marshal

func (m *ImplantAgent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImplantAgent) XXX_Merge

func (m *ImplantAgent) XXX_Merge(src proto.Message)

func (*ImplantAgent) XXX_Size

func (m *ImplantAgent) XXX_Size() int

func (*ImplantAgent) XXX_Unmarshal

func (m *ImplantAgent) XXX_Unmarshal(b []byte) error

type ImplantClient

type ImplantClient interface {
	FetchCommand(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Command, error)
	SendCommandOutput(ctx context.Context, in *Command, opts ...grpc.CallOption) (*Empty, error)
	FetchTask(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Task, error)
	SendTaskOutput(ctx context.Context, in *Task, opts ...grpc.CallOption) (*Empty, error)
	FetchAll(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*All, error)
	SendAll(ctx context.Context, in *All, opts ...grpc.CallOption) (*Empty, error)
	RegisterImplant(ctx context.Context, in *ImplantAgent, opts ...grpc.CallOption) (*Session, error)
}

ImplantClient is the client API for Implant service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewImplantClient

func NewImplantClient(cc grpc.ClientConnInterface) ImplantClient

type ImplantServer

type ImplantServer interface {
	FetchCommand(context.Context, *Empty) (*Command, error)
	SendCommandOutput(context.Context, *Command) (*Empty, error)
	FetchTask(context.Context, *Empty) (*Task, error)
	SendTaskOutput(context.Context, *Task) (*Empty, error)
	FetchAll(context.Context, *Empty) (*All, error)
	SendAll(context.Context, *All) (*Empty, error)
	RegisterImplant(context.Context, *ImplantAgent) (*Session, error)
}

ImplantServer is the server API for Implant service.

type Interact

type Interact struct {
	Session              *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	Command              *Command `protobuf:"bytes,2,opt,name=Command,proto3" json:"Command,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Interact) Descriptor

func (*Interact) Descriptor() ([]byte, []int)

func (*Interact) GetCommand

func (m *Interact) GetCommand() *Command

func (*Interact) GetSession

func (m *Interact) GetSession() *Session

func (*Interact) ProtoMessage

func (*Interact) ProtoMessage()

func (*Interact) Reset

func (m *Interact) Reset()

func (*Interact) String

func (m *Interact) String() string

func (*Interact) XXX_DiscardUnknown

func (m *Interact) XXX_DiscardUnknown()

func (*Interact) XXX_Marshal

func (m *Interact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Interact) XXX_Merge

func (m *Interact) XXX_Merge(src proto.Message)

func (*Interact) XXX_Size

func (m *Interact) XXX_Size() int

func (*Interact) XXX_Unmarshal

func (m *Interact) XXX_Unmarshal(b []byte) error

type Minion

type Minion struct {
	MinionId             string   `protobuf:"bytes,1,opt,name=MinionId,proto3" json:"MinionId,omitempty"`
	MSession             string   `protobuf:"bytes,2,opt,name=MSession,proto3" json:"MSession,omitempty"`
	HostName             string   `protobuf:"bytes,3,opt,name=HostName,proto3" json:"HostName,omitempty"`
	Username             string   `protobuf:"bytes,4,opt,name=Username,proto3" json:"Username,omitempty"`
	Userid               string   `protobuf:"bytes,5,opt,name=Userid,proto3" json:"Userid,omitempty"`
	GroupId              string   `protobuf:"bytes,6,opt,name=GroupId,proto3" json:"GroupId,omitempty"`
	Homedir              string   `protobuf:"bytes,7,opt,name=Homedir,proto3" json:"Homedir,omitempty"`
	MinionType           string   `protobuf:"bytes,8,opt,name=MinionType,proto3" json:"MinionType,omitempty"`
	OsType               string   `protobuf:"bytes,9,opt,name=OsType,proto3" json:"OsType,omitempty"`
	Description          string   `protobuf:"bytes,10,opt,name=Description,proto3" json:"Description,omitempty"`
	Installed            bool     `protobuf:"varint,11,opt,name=Installed,proto3" json:"Installed,omitempty"`
	MothershipId         string   `protobuf:"bytes,12,opt,name=MothershipId,proto3" json:"MothershipId,omitempty"`
	MinionIp             string   `protobuf:"bytes,13,opt,name=MinionIp,proto3" json:"MinionIp,omitempty"`
	OwnerId              string   `protobuf:"bytes,14,opt,name=OwnerId,proto3" json:"OwnerId,omitempty"`
	Lastseen             string   `protobuf:"bytes,15,opt,name=Lastseen,proto3" json:"Lastseen,omitempty"`
	PID                  string   `protobuf:"bytes,16,opt,name=PID,proto3" json:"PID,omitempty"`
	Persistance          bool     `protobuf:"varint,17,opt,name=Persistance,proto3" json:"Persistance,omitempty"`
	PersistanceMode      string   `protobuf:"bytes,18,opt,name=PersistanceMode,proto3" json:"PersistanceMode,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Minion) Descriptor

func (*Minion) Descriptor() ([]byte, []int)

func (*Minion) GetDescription

func (m *Minion) GetDescription() string

func (*Minion) GetGroupId

func (m *Minion) GetGroupId() string

func (*Minion) GetHomedir

func (m *Minion) GetHomedir() string

func (*Minion) GetHostName

func (m *Minion) GetHostName() string

func (*Minion) GetInstalled

func (m *Minion) GetInstalled() bool

func (*Minion) GetLastseen

func (m *Minion) GetLastseen() string

func (*Minion) GetMSession

func (m *Minion) GetMSession() string

func (*Minion) GetMinionId

func (m *Minion) GetMinionId() string

func (*Minion) GetMinionIp

func (m *Minion) GetMinionIp() string

func (*Minion) GetMinionType

func (m *Minion) GetMinionType() string

func (*Minion) GetMothershipId

func (m *Minion) GetMothershipId() string

func (*Minion) GetOsType

func (m *Minion) GetOsType() string

func (*Minion) GetOwnerId

func (m *Minion) GetOwnerId() string

func (*Minion) GetPID

func (m *Minion) GetPID() string

func (*Minion) GetPersistance

func (m *Minion) GetPersistance() bool

func (*Minion) GetPersistanceMode

func (m *Minion) GetPersistanceMode() string

func (*Minion) GetUserid

func (m *Minion) GetUserid() string

func (*Minion) GetUsername

func (m *Minion) GetUsername() string

func (*Minion) ProtoMessage

func (*Minion) ProtoMessage()

func (*Minion) Reset

func (m *Minion) Reset()

func (*Minion) String

func (m *Minion) String() string

func (*Minion) XXX_DiscardUnknown

func (m *Minion) XXX_DiscardUnknown()

func (*Minion) XXX_Marshal

func (m *Minion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Minion) XXX_Merge

func (m *Minion) XXX_Merge(src proto.Message)

func (*Minion) XXX_Size

func (m *Minion) XXX_Size() int

func (*Minion) XXX_Unmarshal

func (m *Minion) XXX_Unmarshal(b []byte) error

type Mothership

type Mothership struct {
	MUrl                 string   `protobuf:"bytes,1,opt,name=MUrl,proto3" json:"MUrl,omitempty"`
	Protocol             string   `protobuf:"bytes,2,opt,name=Protocol,proto3" json:"Protocol,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Mothership) Descriptor

func (*Mothership) Descriptor() ([]byte, []int)

func (*Mothership) GetMUrl

func (m *Mothership) GetMUrl() string

func (*Mothership) GetProtocol

func (m *Mothership) GetProtocol() string

func (*Mothership) ProtoMessage

func (*Mothership) ProtoMessage()

func (*Mothership) Reset

func (m *Mothership) Reset()

func (*Mothership) String

func (m *Mothership) String() string

func (*Mothership) XXX_DiscardUnknown

func (m *Mothership) XXX_DiscardUnknown()

func (*Mothership) XXX_Marshal

func (m *Mothership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Mothership) XXX_Merge

func (m *Mothership) XXX_Merge(src proto.Message)

func (*Mothership) XXX_Size

func (m *Mothership) XXX_Size() int

func (*Mothership) XXX_Unmarshal

func (m *Mothership) XXX_Unmarshal(b []byte) error

type P2P

type P2P struct {
	Address              string   `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*P2P) Descriptor

func (*P2P) Descriptor() ([]byte, []int)

func (*P2P) GetAddress

func (m *P2P) GetAddress() string

func (*P2P) ProtoMessage

func (*P2P) ProtoMessage()

func (*P2P) Reset

func (m *P2P) Reset()

func (*P2P) String

func (m *P2P) String() string

func (*P2P) XXX_DiscardUnknown

func (m *P2P) XXX_DiscardUnknown()

func (*P2P) XXX_Marshal

func (m *P2P) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*P2P) XXX_Merge

func (m *P2P) XXX_Merge(src proto.Message)

func (*P2P) XXX_Size

func (m *P2P) XXX_Size() int

func (*P2P) XXX_Unmarshal

func (m *P2P) XXX_Unmarshal(b []byte) error

type Peers

type Peers struct {
	Peer                 []*Peers `protobuf:"bytes,2,rep,name=Peer,proto3" json:"Peer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Peers) Descriptor

func (*Peers) Descriptor() ([]byte, []int)

func (*Peers) GetPeer

func (m *Peers) GetPeer() []*Peers

func (*Peers) ProtoMessage

func (*Peers) ProtoMessage()

func (*Peers) Reset

func (m *Peers) Reset()

func (*Peers) String

func (m *Peers) String() string

func (*Peers) XXX_DiscardUnknown

func (m *Peers) XXX_DiscardUnknown()

func (*Peers) XXX_Marshal

func (m *Peers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Peers) XXX_Merge

func (m *Peers) XXX_Merge(src proto.Message)

func (*Peers) XXX_Size

func (m *Peers) XXX_Size() int

func (*Peers) XXX_Unmarshal

func (m *Peers) XXX_Unmarshal(b []byte) error

type ProxyUrl

type ProxyUrl struct {
	PUrl                 string   `protobuf:"bytes,1,opt,name=PUrl,proto3" json:"PUrl,omitempty"`
	Protocol             string   `protobuf:"bytes,2,opt,name=Protocol,proto3" json:"Protocol,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ProxyUrl) Descriptor

func (*ProxyUrl) Descriptor() ([]byte, []int)

func (*ProxyUrl) GetPUrl

func (m *ProxyUrl) GetPUrl() string

func (*ProxyUrl) GetProtocol

func (m *ProxyUrl) GetProtocol() string

func (*ProxyUrl) ProtoMessage

func (*ProxyUrl) ProtoMessage()

func (*ProxyUrl) Reset

func (m *ProxyUrl) Reset()

func (*ProxyUrl) String

func (m *ProxyUrl) String() string

func (*ProxyUrl) XXX_DiscardUnknown

func (m *ProxyUrl) XXX_DiscardUnknown()

func (*ProxyUrl) XXX_Marshal

func (m *ProxyUrl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProxyUrl) XXX_Merge

func (m *ProxyUrl) XXX_Merge(src proto.Message)

func (*ProxyUrl) XXX_Size

func (m *ProxyUrl) XXX_Size() int

func (*ProxyUrl) XXX_Unmarshal

func (m *ProxyUrl) XXX_Unmarshal(b []byte) error

type SendFile

type SendFile struct {
	Filename             string   `protobuf:"bytes,1,opt,name=Filename,proto3" json:"Filename,omitempty"`
	Data                 []byte   `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendFile) Descriptor

func (*SendFile) Descriptor() ([]byte, []int)

func (*SendFile) GetData

func (m *SendFile) GetData() []byte

func (*SendFile) GetFilename

func (m *SendFile) GetFilename() string

func (*SendFile) ProtoMessage

func (*SendFile) ProtoMessage()

func (*SendFile) Reset

func (m *SendFile) Reset()

func (*SendFile) String

func (m *SendFile) String() string

func (*SendFile) XXX_DiscardUnknown

func (m *SendFile) XXX_DiscardUnknown()

func (*SendFile) XXX_Marshal

func (m *SendFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendFile) XXX_Merge

func (m *SendFile) XXX_Merge(src proto.Message)

func (*SendFile) XXX_Size

func (m *SendFile) XXX_Size() int

func (*SendFile) XXX_Unmarshal

func (m *SendFile) XXX_Unmarshal(b []byte) error

type Session

type Session struct {
	SessionId            string        `protobuf:"bytes,1,opt,name=SessionId,proto3" json:"SessionId,omitempty"`
	ClientId             string        `protobuf:"bytes,2,opt,name=ClientId,proto3" json:"ClientId,omitempty"`
	Motherships          []*Mothership `protobuf:"bytes,3,rep,name=Motherships,proto3" json:"Motherships,omitempty"`
	InteractMode         bool          `protobuf:"varint,4,opt,name=InteractMode,proto3" json:"InteractMode,omitempty"`
	Transoprt            string        `protobuf:"bytes,5,opt,name=Transoprt,proto3" json:"Transoprt,omitempty"`
	ProxyUrls            []*ProxyUrl   `protobuf:"bytes,6,rep,name=ProxyUrls,proto3" json:"ProxyUrls,omitempty"`
	HostName             string        `protobuf:"bytes,7,opt,name=HostName,proto3" json:"HostName,omitempty"`
	Arch                 string        `protobuf:"bytes,8,opt,name=Arch,proto3" json:"Arch,omitempty"`
	ActiveC2             string        `protobuf:"bytes,9,opt,name=ActiveC2,proto3" json:"ActiveC2,omitempty"`
	IsAlive              string        `protobuf:"bytes,10,opt,name=IsAlive,proto3" json:"IsAlive,omitempty"`
	PID                  string        `protobuf:"bytes,11,opt,name=PID,proto3" json:"PID,omitempty"`
	IsPermanent          bool          `protobuf:"varint,12,opt,name=IsPermanent,proto3" json:"IsPermanent,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*Session) Descriptor

func (*Session) Descriptor() ([]byte, []int)

func (*Session) GetActiveC2

func (m *Session) GetActiveC2() string

func (*Session) GetArch

func (m *Session) GetArch() string

func (*Session) GetClientId

func (m *Session) GetClientId() string

func (*Session) GetHostName

func (m *Session) GetHostName() string

func (*Session) GetInteractMode

func (m *Session) GetInteractMode() bool

func (*Session) GetIsAlive

func (m *Session) GetIsAlive() string

func (*Session) GetIsPermanent

func (m *Session) GetIsPermanent() bool

func (*Session) GetMotherships

func (m *Session) GetMotherships() []*Mothership

func (*Session) GetPID

func (m *Session) GetPID() string

func (*Session) GetProxyUrls

func (m *Session) GetProxyUrls() []*ProxyUrl

func (*Session) GetSessionId

func (m *Session) GetSessionId() string

func (*Session) GetTransoprt

func (m *Session) GetTransoprt() string

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) Reset

func (m *Session) Reset()

func (*Session) String

func (m *Session) String() string

func (*Session) XXX_DiscardUnknown

func (m *Session) XXX_DiscardUnknown()

func (*Session) XXX_Marshal

func (m *Session) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Session) XXX_Merge

func (m *Session) XXX_Merge(src proto.Message)

func (*Session) XXX_Size

func (m *Session) XXX_Size() int

func (*Session) XXX_Unmarshal

func (m *Session) XXX_Unmarshal(b []byte) error

type Task

type Task struct {
	Tin                  string   `protobuf:"bytes,1,opt,name=Tin,proto3" json:"Tin,omitempty"`
	Tout                 string   `protobuf:"bytes,2,opt,name=Tout,proto3" json:"Tout,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Task) Descriptor

func (*Task) Descriptor() ([]byte, []int)

func (*Task) GetTin

func (m *Task) GetTin() string

func (*Task) GetTout

func (m *Task) GetTout() string

func (*Task) ProtoMessage

func (*Task) ProtoMessage()

func (*Task) Reset

func (m *Task) Reset()

func (*Task) String

func (m *Task) String() string

func (*Task) XXX_DiscardUnknown

func (m *Task) XXX_DiscardUnknown()

func (*Task) XXX_Marshal

func (m *Task) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Task) XXX_Merge

func (m *Task) XXX_Merge(src proto.Message)

func (*Task) XXX_Size

func (m *Task) XXX_Size() int

func (*Task) XXX_Unmarshal

func (m *Task) XXX_Unmarshal(b []byte) error

type UnimplementedAdminServer

type UnimplementedAdminServer struct {
}

UnimplementedAdminServer can be embedded to have forward compatible implementations.

func (*UnimplementedAdminServer) ImplantInteract

func (*UnimplementedAdminServer) ImplantInteract(ctx context.Context, req *Interact) (*Interact, error)

func (*UnimplementedAdminServer) RegisterImplant

func (*UnimplementedAdminServer) RegisterImplant(ctx context.Context, req *ImplantAgent) (*Session, error)

func (*UnimplementedAdminServer) RunAll

func (*UnimplementedAdminServer) RunAll(ctx context.Context, req *All) (*All, error)

func (*UnimplementedAdminServer) RunCommand

func (*UnimplementedAdminServer) RunCommand(ctx context.Context, req *Command) (*Command, error)

func (*UnimplementedAdminServer) RunTask

func (*UnimplementedAdminServer) RunTask(ctx context.Context, req *Task) (*Task, error)

type UnimplementedImplantServer

type UnimplementedImplantServer struct {
}

UnimplementedImplantServer can be embedded to have forward compatible implementations.

func (*UnimplementedImplantServer) FetchAll

func (*UnimplementedImplantServer) FetchAll(ctx context.Context, req *Empty) (*All, error)

func (*UnimplementedImplantServer) FetchCommand

func (*UnimplementedImplantServer) FetchCommand(ctx context.Context, req *Empty) (*Command, error)

func (*UnimplementedImplantServer) FetchTask

func (*UnimplementedImplantServer) FetchTask(ctx context.Context, req *Empty) (*Task, error)

func (*UnimplementedImplantServer) RegisterImplant

func (*UnimplementedImplantServer) RegisterImplant(ctx context.Context, req *ImplantAgent) (*Session, error)

func (*UnimplementedImplantServer) SendAll

func (*UnimplementedImplantServer) SendAll(ctx context.Context, req *All) (*Empty, error)

func (*UnimplementedImplantServer) SendCommandOutput

func (*UnimplementedImplantServer) SendCommandOutput(ctx context.Context, req *Command) (*Empty, error)

func (*UnimplementedImplantServer) SendTaskOutput

func (*UnimplementedImplantServer) SendTaskOutput(ctx context.Context, req *Task) (*Empty, error)

type VideoRequest

type VideoRequest struct {
	Filename             string   `protobuf:"bytes,1,opt,name=Filename,proto3" json:"Filename,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VideoRequest) Descriptor

func (*VideoRequest) Descriptor() ([]byte, []int)

func (*VideoRequest) GetFilename

func (m *VideoRequest) GetFilename() string

func (*VideoRequest) ProtoMessage

func (*VideoRequest) ProtoMessage()

func (*VideoRequest) Reset

func (m *VideoRequest) Reset()

func (*VideoRequest) String

func (m *VideoRequest) String() string

func (*VideoRequest) XXX_DiscardUnknown

func (m *VideoRequest) XXX_DiscardUnknown()

func (*VideoRequest) XXX_Marshal

func (m *VideoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VideoRequest) XXX_Merge

func (m *VideoRequest) XXX_Merge(src proto.Message)

func (*VideoRequest) XXX_Size

func (m *VideoRequest) XXX_Size() int

func (*VideoRequest) XXX_Unmarshal

func (m *VideoRequest) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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