protomessages

package
v0.0.0-...-3f53568 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: MIT Imports: 9 Imported by: 0

README

Protobuf

This contains the protobuf message and gRPC service definition as well as the auto-generated gRPC source for this project.

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

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.

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use Implant.ProtoReflect.Descriptor instead.

func (*Implant) GetArch

func (x *Implant) GetArch() string

func (*Implant) GetCwd

func (x *Implant) GetCwd() string

func (*Implant) GetFailedCheckIns

func (x *Implant) GetFailedCheckIns() int64

func (*Implant) GetHostname

func (x *Implant) GetHostname() string

func (*Implant) GetJitter

func (x *Implant) GetJitter() int64

func (*Implant) GetKillDate

func (x *Implant) GetKillDate() int64

func (*Implant) GetListenerUUID

func (x *Implant) GetListenerUUID() *UUID

func (*Implant) GetMaxRetry

func (x *Implant) GetMaxRetry() int64

func (*Implant) GetOs

func (x *Implant) GetOs() string

func (*Implant) GetPID

func (x *Implant) GetPID() int64

func (*Implant) GetPPID

func (x *Implant) GetPPID() int64

func (*Implant) GetSleepTime

func (x *Implant) GetSleepTime() int64

func (*Implant) GetStatus

func (x *Implant) GetStatus() string

func (*Implant) GetType

func (x *Implant) GetType() string

func (*Implant) GetUserID

func (x *Implant) GetUserID() string

func (*Implant) GetUsername

func (x *Implant) GetUsername() string

func (*Implant) GetUuid

func (x *Implant) GetUuid() *UUID

func (*Implant) ProtoMessage

func (*Implant) ProtoMessage()

func (*Implant) ProtoReflect

func (x *Implant) ProtoReflect() protoreflect.Message

func (*Implant) Reset

func (x *Implant) Reset()

func (*Implant) String

func (x *Implant) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Task.ProtoReflect.Descriptor instead.

func (*Task) GetArguments

func (x *Task) GetArguments() []string

func (*Task) GetDate

func (x *Task) GetDate() string

func (*Task) GetImplantUUID

func (x *Task) GetImplantUUID() *UUID

func (*Task) GetListenerUUID

func (x *Task) GetListenerUUID() *UUID

func (*Task) GetResult

func (x *Task) GetResult() string

func (*Task) GetSuccess

func (x *Task) GetSuccess() bool

func (*Task) GetType

func (x *Task) GetType() string

func (*Task) GetUuid

func (x *Task) GetUuid() *UUID

func (*Task) ProtoMessage

func (*Task) ProtoMessage()

func (*Task) ProtoReflect

func (x *Task) ProtoReflect() protoreflect.Message

func (*Task) Reset

func (x *Task) Reset()

func (*Task) String

func (x *Task) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use UUID.ProtoReflect.Descriptor instead.

func (*UUID) GetValue

func (x *UUID) GetValue() string

func (*UUID) ProtoMessage

func (*UUID) ProtoMessage()

func (*UUID) ProtoReflect

func (x *UUID) ProtoReflect() protoreflect.Message

func (*UUID) Reset

func (x *UUID) Reset()

func (*UUID) String

func (x *UUID) String() string

type UnimplementedGetImplantCheckInServer

type UnimplementedGetImplantCheckInServer struct {
}

UnimplementedGetImplantCheckInServer can be embedded to have forward compatible implementations.

func (*UnimplementedGetImplantCheckInServer) GetImplantCheckIn

type UnimplementedGetTaskForListenerServer

type UnimplementedGetTaskForListenerServer struct {
}

UnimplementedGetTaskForListenerServer can be embedded to have forward compatible implementations.

func (*UnimplementedGetTaskForListenerServer) GetTaskForListener

type UnimplementedGetTaskResultServer

type UnimplementedGetTaskResultServer struct {
}

UnimplementedGetTaskResultServer can be embedded to have forward compatible implementations.

func (*UnimplementedGetTaskResultServer) GetTaskResult

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) Descriptor() ([]byte, []int)

Deprecated: Use Username.ProtoReflect.Descriptor instead.

func (*Username) GetUsername

func (x *Username) GetUsername() string

func (*Username) ProtoMessage

func (*Username) ProtoMessage()

func (*Username) ProtoReflect

func (x *Username) ProtoReflect() protoreflect.Message

func (*Username) Reset

func (x *Username) Reset()

func (*Username) String

func (x *Username) String() string

Jump to

Keyboard shortcuts

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