Documentation
¶
Index ¶
- Variables
- type Empty
- type EnvVar
- type File
- type Process
- func (*Process) Descriptor() ([]byte, []int)deprecated
- func (x *Process) GetArchitecture() string
- func (x *Process) GetCmdLine() []string
- func (x *Process) GetExecutable() string
- func (x *Process) GetOwner() string
- func (x *Process) GetPid() int32
- func (x *Process) GetPpid() int32
- func (x *Process) GetSessionID() int32
- func (*Process) ProtoMessage()
- func (x *Process) ProtoReflect() protoreflect.Message
- func (x *Process) Reset()
- func (x *Process) String() string
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetAsync() bool
- func (x *Request) GetBeaconID() string
- func (x *Request) GetSessionID() string
- func (x *Request) GetTimeout() int64
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetAsync() bool
- func (x *Response) GetBeaconID() string
- func (x *Response) GetErr() string
- func (x *Response) GetTaskID() string
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_commonpb_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type EnvVar ¶
type EnvVar struct {
Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
// contains filtered or unexported fields
}
EnvVar - Environment variable K/V
func (*EnvVar) Descriptor
deprecated
func (*EnvVar) ProtoMessage ¶
func (*EnvVar) ProtoMessage()
func (*EnvVar) ProtoReflect ¶
func (x *EnvVar) ProtoReflect() protoreflect.Message
type File ¶
type File struct {
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"`
// contains filtered or unexported fields
}
File - A basic file data type
func (*File) Descriptor
deprecated
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type Process ¶
type Process struct {
Pid int32 `protobuf:"varint,1,opt,name=Pid,proto3" json:"Pid,omitempty"`
Ppid int32 `protobuf:"varint,2,opt,name=Ppid,proto3" json:"Ppid,omitempty"`
Executable string `protobuf:"bytes,3,opt,name=Executable,proto3" json:"Executable,omitempty"`
Owner string `protobuf:"bytes,4,opt,name=Owner,proto3" json:"Owner,omitempty"`
Architecture string `protobuf:"bytes,7,opt,name=Architecture,proto3" json:"Architecture,omitempty"`
SessionID int32 `protobuf:"varint,5,opt,name=SessionID,proto3" json:"SessionID,omitempty"`
CmdLine []string `protobuf:"bytes,6,rep,name=CmdLine,proto3" json:"CmdLine,omitempty"`
// contains filtered or unexported fields
}
Process - A basic process data type
func (*Process) Descriptor
deprecated
func (*Process) GetArchitecture ¶
func (*Process) GetCmdLine ¶
func (*Process) GetExecutable ¶
func (*Process) GetSessionID ¶
func (*Process) ProtoMessage ¶
func (*Process) ProtoMessage()
func (*Process) ProtoReflect ¶
func (x *Process) ProtoReflect() protoreflect.Message
type Request ¶
type Request struct {
Async bool `protobuf:"varint,1,opt,name=Async,proto3" json:"Async,omitempty"`
Timeout int64 `protobuf:"varint,2,opt,name=Timeout,proto3" json:"Timeout,omitempty"`
BeaconID string `protobuf:"bytes,8,opt,name=BeaconID,proto3" json:"BeaconID,omitempty"`
SessionID string `protobuf:"bytes,9,opt,name=SessionID,proto3" json:"SessionID,omitempty"`
// contains filtered or unexported fields
}
Request - Common fields used in all gRPC requests
func (*Request) Descriptor
deprecated
func (*Request) GetBeaconID ¶
func (*Request) GetSessionID ¶
func (*Request) GetTimeout ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct {
Err string `protobuf:"bytes,1,opt,name=Err,proto3" json:"Err,omitempty"`
Async bool `protobuf:"varint,2,opt,name=Async,proto3" json:"Async,omitempty"`
BeaconID string `protobuf:"bytes,8,opt,name=BeaconID,proto3" json:"BeaconID,omitempty"`
TaskID string `protobuf:"bytes,9,opt,name=TaskID,proto3" json:"TaskID,omitempty"`
// contains filtered or unexported fields
}
Response - Common fields used in all gRPC responses. Note that the Err field
only used when the implant needs to return an error to the server. Client<->Server comms should use normal gRPC error handling.
func (*Response) Descriptor
deprecated
func (*Response) GetBeaconID ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.