Documentation ¶
Index ¶
- Variables
- func RegisterGetImplantCheckInServer(s *grpc.Server, srv GetImplantCheckInServer)
- func RegisterGetTaskForListenerServer(s *grpc.Server, srv GetTaskForListenerServer)
- func RegisterGetTaskResultServer(s *grpc.Server, srv GetTaskResultServer)
- type GetImplantCheckInClient
- type GetImplantCheckInServer
- type GetImplantCheckIn_GetImplantCheckInClient
- type GetImplantCheckIn_GetImplantCheckInServer
- type GetTaskForListenerClient
- type GetTaskForListenerServer
- type GetTaskForListener_GetTaskForListenerClient
- type GetTaskForListener_GetTaskForListenerServer
- type GetTaskResultClient
- type GetTaskResultServer
- type GetTaskResult_GetTaskResultClient
- type GetTaskResult_GetTaskResultServer
- type Implant
- func (*Implant) Descriptor() ([]byte, []int)deprecated
- func (x *Implant) GetArch() string
- func (x *Implant) GetCwd() string
- func (x *Implant) GetFailedCheckIns() int64
- func (x *Implant) GetHostname() string
- func (x *Implant) GetJitter() int64
- func (x *Implant) GetKillDate() int64
- func (x *Implant) GetListenerUUID() *UUID
- func (x *Implant) GetMaxRetry() int64
- func (x *Implant) GetOs() string
- func (x *Implant) GetPID() int64
- func (x *Implant) GetPPID() int64
- func (x *Implant) GetSleepTime() int64
- func (x *Implant) GetStatus() string
- func (x *Implant) GetType() string
- func (x *Implant) GetUserID() string
- func (x *Implant) GetUsername() string
- func (x *Implant) GetUuid() *UUID
- func (*Implant) ProtoMessage()
- func (x *Implant) ProtoReflect() protoreflect.Message
- func (x *Implant) Reset()
- func (x *Implant) String() string
- type Task
- func (*Task) Descriptor() ([]byte, []int)deprecated
- func (x *Task) GetArguments() []string
- func (x *Task) GetDate() string
- func (x *Task) GetImplantUUID() *UUID
- func (x *Task) GetListenerUUID() *UUID
- func (x *Task) GetResult() string
- func (x *Task) GetSuccess() bool
- func (x *Task) GetType() string
- func (x *Task) GetUuid() *UUID
- func (*Task) ProtoMessage()
- func (x *Task) ProtoReflect() protoreflect.Message
- func (x *Task) Reset()
- func (x *Task) String() string
- type UUID
- type UnimplementedGetImplantCheckInServer
- type UnimplementedGetTaskForListenerServer
- type UnimplementedGetTaskResultServer
- type Username
Constants ¶
This section is empty.
Variables ¶
var File_messages_proto protoreflect.FileDescriptor
Functions ¶
func RegisterGetImplantCheckInServer ¶
func RegisterGetImplantCheckInServer(s *grpc.Server, srv GetImplantCheckInServer)
func RegisterGetTaskForListenerServer ¶
func RegisterGetTaskForListenerServer(s *grpc.Server, srv GetTaskForListenerServer)
func RegisterGetTaskResultServer ¶
func RegisterGetTaskResultServer(s *grpc.Server, srv GetTaskResultServer)
Types ¶
type GetImplantCheckInClient ¶
type GetImplantCheckInClient interface {
GetImplantCheckIn(ctx context.Context, in *Username, opts ...grpc.CallOption) (GetImplantCheckIn_GetImplantCheckInClient, error)
}
GetImplantCheckInClient is the client API for GetImplantCheckIn service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGetImplantCheckInClient ¶
func NewGetImplantCheckInClient(cc grpc.ClientConnInterface) GetImplantCheckInClient
type GetImplantCheckInServer ¶
type GetImplantCheckInServer interface {
GetImplantCheckIn(*Username, GetImplantCheckIn_GetImplantCheckInServer) error
}
GetImplantCheckInServer is the server API for GetImplantCheckIn service.
type GetImplantCheckIn_GetImplantCheckInClient ¶
type GetImplantCheckIn_GetImplantCheckInClient interface { Recv() (*Implant, error) grpc.ClientStream }
type GetImplantCheckIn_GetImplantCheckInServer ¶
type GetImplantCheckIn_GetImplantCheckInServer interface { Send(*Implant) error grpc.ServerStream }
type GetTaskForListenerClient ¶
type GetTaskForListenerClient interface {
GetTaskForListener(ctx context.Context, in *UUID, opts ...grpc.CallOption) (GetTaskForListener_GetTaskForListenerClient, error)
}
GetTaskForListenerClient is the client API for GetTaskForListener service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGetTaskForListenerClient ¶
func NewGetTaskForListenerClient(cc grpc.ClientConnInterface) GetTaskForListenerClient
type GetTaskForListenerServer ¶
type GetTaskForListenerServer interface {
GetTaskForListener(*UUID, GetTaskForListener_GetTaskForListenerServer) error
}
GetTaskForListenerServer is the server API for GetTaskForListener service.
type GetTaskForListener_GetTaskForListenerClient ¶
type GetTaskForListener_GetTaskForListenerClient interface { Recv() (*Task, error) grpc.ClientStream }
type GetTaskForListener_GetTaskForListenerServer ¶
type GetTaskForListener_GetTaskForListenerServer interface { Send(*Task) error grpc.ServerStream }
type GetTaskResultClient ¶
type GetTaskResultClient interface {
GetTaskResult(ctx context.Context, in *Username, opts ...grpc.CallOption) (GetTaskResult_GetTaskResultClient, error)
}
GetTaskResultClient is the client API for GetTaskResult service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGetTaskResultClient ¶
func NewGetTaskResultClient(cc grpc.ClientConnInterface) GetTaskResultClient
type GetTaskResultServer ¶
type GetTaskResultServer interface {
GetTaskResult(*Username, GetTaskResult_GetTaskResultServer) error
}
GetTaskResultServer is the server API for GetTaskResult service.
type GetTaskResult_GetTaskResultClient ¶
type GetTaskResult_GetTaskResultClient interface { Recv() (*Task, error) grpc.ClientStream }
type GetTaskResult_GetTaskResultServer ¶
type GetTaskResult_GetTaskResultServer interface { Send(*Task) error grpc.ServerStream }
type Implant ¶
type Implant struct { Uuid *UUID `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Cwd string `protobuf:"bytes,2,opt,name=cwd,proto3" json:"cwd,omitempty"` Os string `protobuf:"bytes,3,opt,name=os,proto3" json:"os,omitempty"` Arch string `protobuf:"bytes,4,opt,name=arch,proto3" json:"arch,omitempty"` Jitter int64 `protobuf:"varint,5,opt,name=jitter,proto3" json:"jitter,omitempty"` UserID string `protobuf:"bytes,6,opt,name=userID,proto3" json:"userID,omitempty"` Hostname string `protobuf:"bytes,7,opt,name=hostname,proto3" json:"hostname,omitempty"` FailedCheckIns int64 `protobuf:"varint,8,opt,name=failedCheckIns,proto3" json:"failedCheckIns,omitempty"` PID int64 `protobuf:"varint,9,opt,name=PID,proto3" json:"PID,omitempty"` PPID int64 `protobuf:"varint,10,opt,name=PPID,proto3" json:"PPID,omitempty"` MaxRetry int64 `protobuf:"varint,11,opt,name=maxRetry,proto3" json:"maxRetry,omitempty"` Username string `protobuf:"bytes,12,opt,name=username,proto3" json:"username,omitempty"` SleepTime int64 `protobuf:"varint,13,opt,name=sleepTime,proto3" json:"sleepTime,omitempty"` KillDate int64 `protobuf:"varint,14,opt,name=killDate,proto3" json:"killDate,omitempty"` ListenerUUID *UUID `protobuf:"bytes,15,opt,name=listenerUUID,proto3" json:"listenerUUID,omitempty"` Status string `protobuf:"bytes,16,opt,name=status,proto3" json:"status,omitempty"` Type string `protobuf:"bytes,17,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
Describes an implant
func (*Implant) Descriptor
deprecated
func (*Implant) GetFailedCheckIns ¶
func (*Implant) GetHostname ¶
func (*Implant) GetKillDate ¶
func (*Implant) GetListenerUUID ¶
func (*Implant) GetMaxRetry ¶
func (*Implant) GetSleepTime ¶
func (*Implant) GetUsername ¶
func (*Implant) ProtoMessage ¶
func (*Implant) ProtoMessage()
func (*Implant) ProtoReflect ¶
func (x *Implant) ProtoReflect() protoreflect.Message
type Task ¶
type Task struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Arguments []string `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"` Result string `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` Success bool `protobuf:"varint,4,opt,name=success,proto3" json:"success,omitempty"` ListenerUUID *UUID `protobuf:"bytes,5,opt,name=listenerUUID,proto3" json:"listenerUUID,omitempty"` ImplantUUID *UUID `protobuf:"bytes,6,opt,name=implantUUID,proto3" json:"implantUUID,omitempty"` Uuid *UUID `protobuf:"bytes,7,opt,name=uuid,proto3" json:"uuid,omitempty"` Date string `protobuf:"bytes,8,opt,name=date,proto3" json:"date,omitempty"` // contains filtered or unexported fields }
Describes a task
func (*Task) Descriptor
deprecated
func (*Task) GetArguments ¶
func (*Task) GetImplantUUID ¶
func (*Task) GetListenerUUID ¶
func (*Task) GetSuccess ¶
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) ProtoReflect ¶
func (x *Task) ProtoReflect() protoreflect.Message
type UUID ¶
type UUID struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Describes a UUID
func (*UUID) Descriptor
deprecated
func (*UUID) ProtoMessage ¶
func (*UUID) ProtoMessage()
func (*UUID) ProtoReflect ¶
func (x *UUID) ProtoReflect() protoreflect.Message
type UnimplementedGetImplantCheckInServer ¶
type UnimplementedGetImplantCheckInServer struct { }
UnimplementedGetImplantCheckInServer can be embedded to have forward compatible implementations.
func (*UnimplementedGetImplantCheckInServer) GetImplantCheckIn ¶
func (*UnimplementedGetImplantCheckInServer) GetImplantCheckIn(*Username, GetImplantCheckIn_GetImplantCheckInServer) error
type UnimplementedGetTaskForListenerServer ¶
type UnimplementedGetTaskForListenerServer struct { }
UnimplementedGetTaskForListenerServer can be embedded to have forward compatible implementations.
func (*UnimplementedGetTaskForListenerServer) GetTaskForListener ¶
func (*UnimplementedGetTaskForListenerServer) GetTaskForListener(*UUID, GetTaskForListener_GetTaskForListenerServer) error
type UnimplementedGetTaskResultServer ¶
type UnimplementedGetTaskResultServer struct { }
UnimplementedGetTaskResultServer can be embedded to have forward compatible implementations.
func (*UnimplementedGetTaskResultServer) GetTaskResult ¶
func (*UnimplementedGetTaskResultServer) GetTaskResult(*Username, GetTaskResult_GetTaskResultServer) error
type Username ¶
type Username struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*Username) Descriptor
deprecated
func (*Username) GetUsername ¶
func (*Username) ProtoMessage ¶
func (*Username) ProtoMessage()
func (*Username) ProtoReflect ¶
func (x *Username) ProtoReflect() protoreflect.Message