rpcpb

package
v0.0.0-...-51e328c Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_rpcpb_rpc_proto protoreflect.FileDescriptor
View Source
var HermitRPC_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "rpcpb.HermitRPC",
	HandlerType: (*HermitRPCServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SayHello",
			Handler:    _HermitRPC_SayHello_Handler,
		},
		{
			MethodName: "GetVersion",
			Handler:    _HermitRPC_GetVersion_Handler,
		},
		{
			MethodName: "OperatorRegister",
			Handler:    _HermitRPC_OperatorRegister_Handler,
		},
		{
			MethodName: "OperatorDeleteByUuid",
			Handler:    _HermitRPC_OperatorDeleteByUuid_Handler,
		},
		{
			MethodName: "OperatorGetById",
			Handler:    _HermitRPC_OperatorGetById_Handler,
		},
		{
			MethodName: "ListenerStart",
			Handler:    _HermitRPC_ListenerStart_Handler,
		},
		{
			MethodName: "ListenerStartById",
			Handler:    _HermitRPC_ListenerStartById_Handler,
		},
		{
			MethodName: "ListenerStopById",
			Handler:    _HermitRPC_ListenerStopById_Handler,
		},
		{
			MethodName: "ListenerDeleteById",
			Handler:    _HermitRPC_ListenerDeleteById_Handler,
		},
		{
			MethodName: "ListenerPayloadsById",
			Handler:    _HermitRPC_ListenerPayloadsById_Handler,
		},
		{
			MethodName: "ListenerPayloadsDeleteById",
			Handler:    _HermitRPC_ListenerPayloadsDeleteById_Handler,
		},
		{
			MethodName: "ListenerGetById",
			Handler:    _HermitRPC_ListenerGetById_Handler,
		},
		{
			MethodName: "PayloadImplantGenerate",
			Handler:    _HermitRPC_PayloadImplantGenerate_Handler,
		},
		{
			MethodName: "PayloadLoaderGenerate",
			Handler:    _HermitRPC_PayloadLoaderGenerate_Handler,
		},
		{
			MethodName: "PayloadModuleGenerate",
			Handler:    _HermitRPC_PayloadModuleGenerate_Handler,
		},
		{
			MethodName: "AgentDeleteById",
			Handler:    _HermitRPC_AgentDeleteById_Handler,
		},
		{
			MethodName: "AgentGetById",
			Handler:    _HermitRPC_AgentGetById_Handler,
		},
		{
			MethodName: "AgentTaskList",
			Handler:    _HermitRPC_AgentTaskList_Handler,
		},
		{
			MethodName: "TaskSetByAgentName",
			Handler:    _HermitRPC_TaskSetByAgentName_Handler,
		},
		{
			MethodName: "TaskClearByAgentName",
			Handler:    _HermitRPC_TaskClearByAgentName_Handler,
		},
		{
			MethodName: "TaskListByAgentName",
			Handler:    _HermitRPC_TaskListByAgentName_Handler,
		},
		{
			MethodName: "LootGetAll",
			Handler:    _HermitRPC_LootGetAll_Handler,
		},
		{
			MethodName: "LootClearByAgentName",
			Handler:    _HermitRPC_LootClearByAgentName_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "OperatorGetAll",
			Handler:       _HermitRPC_OperatorGetAll_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ListenerGetAll",
			Handler:       _HermitRPC_ListenerGetAll_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "AgentGetAll",
			Handler:       _HermitRPC_AgentGetAll_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "rpcpb/rpc.proto",
}

HermitRPC_ServiceDesc is the grpc.ServiceDesc for HermitRPC service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterHermitRPCServer

func RegisterHermitRPCServer(s grpc.ServiceRegistrar, srv HermitRPCServer)

Types

type Agent

type Agent struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid        string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name        string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Ip          string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
	Os          string `protobuf:"bytes,5,opt,name=os,proto3" json:"os,omitempty"`
	Arch        string `protobuf:"bytes,6,opt,name=arch,proto3" json:"arch,omitempty"`
	Hostname    string `protobuf:"bytes,7,opt,name=hostname,proto3" json:"hostname,omitempty"`
	ListenerURL string `protobuf:"bytes,8,opt,name=listenerURL,proto3" json:"listenerURL,omitempty"`
	ImplantType string `protobuf:"bytes,9,opt,name=implantType,proto3" json:"implantType,omitempty"`
	CheckInDate string `protobuf:"bytes,10,opt,name=checkInDate,proto3" json:"checkInDate,omitempty"`
	Sleep       int64  `protobuf:"varint,11,opt,name=sleep,proto3" json:"sleep,omitempty"`
	Jitter      int64  `protobuf:"varint,12,opt,name=jitter,proto3" json:"jitter,omitempty"`
	KillDate    int64  `protobuf:"varint,13,opt,name=killDate,proto3" json:"killDate,omitempty"`
	AesKey      string `protobuf:"bytes,14,opt,name=aesKey,proto3" json:"aesKey,omitempty"`
	AesIV       string `protobuf:"bytes,15,opt,name=aesIV,proto3" json:"aesIV,omitempty"`
	SessionId   string `protobuf:"bytes,16,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	// contains filtered or unexported fields
}

func (*Agent) Descriptor deprecated

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

Deprecated: Use Agent.ProtoReflect.Descriptor instead.

func (*Agent) GetAesIV

func (x *Agent) GetAesIV() string

func (*Agent) GetAesKey

func (x *Agent) GetAesKey() string

func (*Agent) GetArch

func (x *Agent) GetArch() string

func (*Agent) GetCheckInDate

func (x *Agent) GetCheckInDate() string

func (*Agent) GetHostname

func (x *Agent) GetHostname() string

func (*Agent) GetId

func (x *Agent) GetId() int64

func (*Agent) GetImplantType

func (x *Agent) GetImplantType() string

func (*Agent) GetIp

func (x *Agent) GetIp() string

func (*Agent) GetJitter

func (x *Agent) GetJitter() int64

func (*Agent) GetKillDate

func (x *Agent) GetKillDate() int64

func (*Agent) GetListenerURL

func (x *Agent) GetListenerURL() string

func (*Agent) GetName

func (x *Agent) GetName() string

func (*Agent) GetOs

func (x *Agent) GetOs() string

func (*Agent) GetSessionId

func (x *Agent) GetSessionId() string

func (*Agent) GetSleep

func (x *Agent) GetSleep() int64

func (*Agent) GetUuid

func (x *Agent) GetUuid() string

func (*Agent) ProtoMessage

func (*Agent) ProtoMessage()

func (*Agent) ProtoReflect

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

func (*Agent) Reset

func (x *Agent) Reset()

func (*Agent) String

func (x *Agent) String() string

type HermitRPCClient

type HermitRPCClient interface {
	// GENERAL
	SayHello(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*commonpb.Message, error)
	GetVersion(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*commonpb.Message, error)
	// OPERATOR
	OperatorRegister(ctx context.Context, in *Operator, opts ...grpc.CallOption) (*commonpb.Message, error)
	OperatorDeleteByUuid(ctx context.Context, in *commonpb.Uuid, opts ...grpc.CallOption) (*commonpb.Message, error)
	OperatorGetById(ctx context.Context, in *commonpb.Id, opts ...grpc.CallOption) (*Operator, error)
	OperatorGetAll(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (HermitRPC_OperatorGetAllClient, error)
	// LISTENER
	ListenerStart(ctx context.Context, in *Listener, opts ...grpc.CallOption) (*commonpb.Message, error)
	ListenerStartById(ctx context.Context, in *commonpb.Id, opts ...grpc.CallOption) (*commonpb.Message, error)
	ListenerStopById(ctx context.Context, in *commonpb.Id, opts ...grpc.CallOption) (*commonpb.Message, error)
	ListenerDeleteById(ctx context.Context, in *commonpb.Id, opts ...grpc.CallOption) (*commonpb.Message, error)
	ListenerPayloadsById(ctx context.Context, in *commonpb.Id, opts ...grpc.CallOption) (*commonpb.Message, error)
	ListenerPayloadsDeleteById(ctx context.Context, in *ListenerPayload, opts ...grpc.CallOption) (*commonpb.Message, error)
	ListenerGetById(ctx context.Context, in *commonpb.Id, opts ...grpc.CallOption) (*Listener, error)
	ListenerGetAll(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (HermitRPC_ListenerGetAllClient, error)
	// PAYLOAD
	PayloadImplantGenerate(ctx context.Context, in *PayloadImplant, opts ...grpc.CallOption) (*commonpb.Binary, error)
	PayloadLoaderGenerate(ctx context.Context, in *PayloadLoader, opts ...grpc.CallOption) (*commonpb.Binary, error)
	PayloadModuleGenerate(ctx context.Context, in *PayloadModule, opts ...grpc.CallOption) (*commonpb.Binary, error)
	// AGENT
	AgentDeleteById(ctx context.Context, in *commonpb.Id, opts ...grpc.CallOption) (*commonpb.Message, error)
	AgentGetById(ctx context.Context, in *commonpb.Id, opts ...grpc.CallOption) (*Agent, error)
	AgentGetAll(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (HermitRPC_AgentGetAllClient, error)
	AgentTaskList(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*commonpb.Message, error)
	// TASK
	TaskSetByAgentName(ctx context.Context, in *Task, opts ...grpc.CallOption) (*commonpb.Message, error)
	TaskClearByAgentName(ctx context.Context, in *Task, opts ...grpc.CallOption) (*commonpb.Message, error)
	TaskListByAgentName(ctx context.Context, in *Task, opts ...grpc.CallOption) (*commonpb.Message, error)
	// LOOT
	LootGetAll(ctx context.Context, in *Loot, opts ...grpc.CallOption) (*commonpb.Message, error)
	LootClearByAgentName(ctx context.Context, in *Loot, opts ...grpc.CallOption) (*commonpb.Message, error)
}

HermitRPCClient is the client API for HermitRPC service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewHermitRPCClient

func NewHermitRPCClient(cc grpc.ClientConnInterface) HermitRPCClient

type HermitRPCServer

type HermitRPCServer interface {
	// GENERAL
	SayHello(context.Context, *commonpb.Empty) (*commonpb.Message, error)
	GetVersion(context.Context, *commonpb.Empty) (*commonpb.Message, error)
	// OPERATOR
	OperatorRegister(context.Context, *Operator) (*commonpb.Message, error)
	OperatorDeleteByUuid(context.Context, *commonpb.Uuid) (*commonpb.Message, error)
	OperatorGetById(context.Context, *commonpb.Id) (*Operator, error)
	OperatorGetAll(*commonpb.Empty, HermitRPC_OperatorGetAllServer) error
	// LISTENER
	ListenerStart(context.Context, *Listener) (*commonpb.Message, error)
	ListenerStartById(context.Context, *commonpb.Id) (*commonpb.Message, error)
	ListenerStopById(context.Context, *commonpb.Id) (*commonpb.Message, error)
	ListenerDeleteById(context.Context, *commonpb.Id) (*commonpb.Message, error)
	ListenerPayloadsById(context.Context, *commonpb.Id) (*commonpb.Message, error)
	ListenerPayloadsDeleteById(context.Context, *ListenerPayload) (*commonpb.Message, error)
	ListenerGetById(context.Context, *commonpb.Id) (*Listener, error)
	ListenerGetAll(*commonpb.Empty, HermitRPC_ListenerGetAllServer) error
	// PAYLOAD
	PayloadImplantGenerate(context.Context, *PayloadImplant) (*commonpb.Binary, error)
	PayloadLoaderGenerate(context.Context, *PayloadLoader) (*commonpb.Binary, error)
	PayloadModuleGenerate(context.Context, *PayloadModule) (*commonpb.Binary, error)
	// AGENT
	AgentDeleteById(context.Context, *commonpb.Id) (*commonpb.Message, error)
	AgentGetById(context.Context, *commonpb.Id) (*Agent, error)
	AgentGetAll(*commonpb.Empty, HermitRPC_AgentGetAllServer) error
	AgentTaskList(context.Context, *commonpb.Empty) (*commonpb.Message, error)
	// TASK
	TaskSetByAgentName(context.Context, *Task) (*commonpb.Message, error)
	TaskClearByAgentName(context.Context, *Task) (*commonpb.Message, error)
	TaskListByAgentName(context.Context, *Task) (*commonpb.Message, error)
	// LOOT
	LootGetAll(context.Context, *Loot) (*commonpb.Message, error)
	LootClearByAgentName(context.Context, *Loot) (*commonpb.Message, error)
	// contains filtered or unexported methods
}

HermitRPCServer is the server API for HermitRPC service. All implementations must embed UnimplementedHermitRPCServer for forward compatibility

type HermitRPC_AgentGetAllClient

type HermitRPC_AgentGetAllClient interface {
	Recv() (*Agent, error)
	grpc.ClientStream
}

type HermitRPC_AgentGetAllServer

type HermitRPC_AgentGetAllServer interface {
	Send(*Agent) error
	grpc.ServerStream
}

type HermitRPC_ListenerGetAllClient

type HermitRPC_ListenerGetAllClient interface {
	Recv() (*Listener, error)
	grpc.ClientStream
}

type HermitRPC_ListenerGetAllServer

type HermitRPC_ListenerGetAllServer interface {
	Send(*Listener) error
	grpc.ServerStream
}

type HermitRPC_OperatorGetAllClient

type HermitRPC_OperatorGetAllClient interface {
	Recv() (*Operator, error)
	grpc.ClientStream
}

type HermitRPC_OperatorGetAllServer

type HermitRPC_OperatorGetAllServer interface {
	Send(*Operator) error
	grpc.ServerStream
}

type Listener

type Listener struct {
	Id       int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid     string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name     string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Protocol string `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Host     string `protobuf:"bytes,5,opt,name=host,proto3" json:"host,omitempty"`
	Port     int32  `protobuf:"varint,6,opt,name=port,proto3" json:"port,omitempty"`
	Domains  string `protobuf:"bytes,7,opt,name=domains,proto3" json:"domains,omitempty"`
	Active   bool   `protobuf:"varint,8,opt,name=active,proto3" json:"active,omitempty"`
	// contains filtered or unexported fields
}

func (*Listener) Descriptor deprecated

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

Deprecated: Use Listener.ProtoReflect.Descriptor instead.

func (*Listener) GetActive

func (x *Listener) GetActive() bool

func (*Listener) GetDomains

func (x *Listener) GetDomains() string

func (*Listener) GetHost

func (x *Listener) GetHost() string

func (*Listener) GetId

func (x *Listener) GetId() int64

func (*Listener) GetName

func (x *Listener) GetName() string

func (*Listener) GetPort

func (x *Listener) GetPort() int32

func (*Listener) GetProtocol

func (x *Listener) GetProtocol() string

func (*Listener) GetUuid

func (x *Listener) GetUuid() string

func (*Listener) ProtoMessage

func (*Listener) ProtoMessage()

func (*Listener) ProtoReflect

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

func (*Listener) Reset

func (x *Listener) Reset()

func (*Listener) String

func (x *Listener) String() string

type ListenerPayload

type ListenerPayload struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	PayloadName string `protobuf:"bytes,2,opt,name=payloadName,proto3" json:"payloadName,omitempty"`
	// contains filtered or unexported fields
}

func (*ListenerPayload) Descriptor deprecated

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

Deprecated: Use ListenerPayload.ProtoReflect.Descriptor instead.

func (*ListenerPayload) GetId

func (x *ListenerPayload) GetId() int64

func (*ListenerPayload) GetPayloadName

func (x *ListenerPayload) GetPayloadName() string

func (*ListenerPayload) ProtoMessage

func (*ListenerPayload) ProtoMessage()

func (*ListenerPayload) ProtoReflect

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

func (*ListenerPayload) Reset

func (x *ListenerPayload) Reset()

func (*ListenerPayload) String

func (x *ListenerPayload) String() string

type Loot

type Loot struct {
	AgentName string `protobuf:"bytes,1,opt,name=agentName,proto3" json:"agentName,omitempty"`
	Filter    string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*Loot) Descriptor deprecated

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

Deprecated: Use Loot.ProtoReflect.Descriptor instead.

func (*Loot) GetAgentName

func (x *Loot) GetAgentName() string

func (*Loot) GetFilter

func (x *Loot) GetFilter() string

func (*Loot) ProtoMessage

func (*Loot) ProtoMessage()

func (*Loot) ProtoReflect

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

func (*Loot) Reset

func (x *Loot) Reset()

func (*Loot) String

func (x *Loot) String() string

type Operator

type Operator struct {
	Id    int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid  string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name  string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Login string `protobuf:"bytes,4,opt,name=login,proto3" json:"login,omitempty"`
	// contains filtered or unexported fields
}

func (*Operator) Descriptor deprecated

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

Deprecated: Use Operator.ProtoReflect.Descriptor instead.

func (*Operator) GetId

func (x *Operator) GetId() int64

func (*Operator) GetLogin

func (x *Operator) GetLogin() string

func (*Operator) GetName

func (x *Operator) GetName() string

func (*Operator) GetUuid

func (x *Operator) GetUuid() string

func (*Operator) ProtoMessage

func (*Operator) ProtoMessage()

func (*Operator) ProtoReflect

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

func (*Operator) Reset

func (x *Operator) Reset()

func (*Operator) String

func (x *Operator) String() string

type PayloadImplant

type PayloadImplant struct {
	Id               int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid             string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name             string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Os               string `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"`
	Arch             string `protobuf:"bytes,5,opt,name=arch,proto3" json:"arch,omitempty"`
	Format           string `protobuf:"bytes,6,opt,name=format,proto3" json:"format,omitempty"`
	Lprotocol        string `protobuf:"bytes,7,opt,name=lprotocol,proto3" json:"lprotocol,omitempty"`
	Lhost            string `protobuf:"bytes,8,opt,name=lhost,proto3" json:"lhost,omitempty"`
	Lport            int32  `protobuf:"varint,9,opt,name=lport,proto3" json:"lport,omitempty"`
	Type             string `protobuf:"bytes,10,opt,name=type,proto3" json:"type,omitempty"`
	Sleep            int64  `protobuf:"varint,11,opt,name=sleep,proto3" json:"sleep,omitempty"`
	Jitter           int64  `protobuf:"varint,12,opt,name=jitter,proto3" json:"jitter,omitempty"`
	KillDate         int64  `protobuf:"varint,13,opt,name=killDate,proto3" json:"killDate,omitempty"`
	IndirectSyscalls bool   `protobuf:"varint,14,opt,name=indirectSyscalls,proto3" json:"indirectSyscalls,omitempty"`
	AntiDebug        bool   `protobuf:"varint,15,opt,name=antiDebug,proto3" json:"antiDebug,omitempty"`
	CompLevel        int64  `protobuf:"varint,16,opt,name=compLevel,proto3" json:"compLevel,omitempty"`
	// contains filtered or unexported fields
}

func (*PayloadImplant) Descriptor deprecated

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

Deprecated: Use PayloadImplant.ProtoReflect.Descriptor instead.

func (*PayloadImplant) GetAntiDebug

func (x *PayloadImplant) GetAntiDebug() bool

func (*PayloadImplant) GetArch

func (x *PayloadImplant) GetArch() string

func (*PayloadImplant) GetCompLevel

func (x *PayloadImplant) GetCompLevel() int64

func (*PayloadImplant) GetFormat

func (x *PayloadImplant) GetFormat() string

func (*PayloadImplant) GetId

func (x *PayloadImplant) GetId() int64

func (*PayloadImplant) GetIndirectSyscalls

func (x *PayloadImplant) GetIndirectSyscalls() bool

func (*PayloadImplant) GetJitter

func (x *PayloadImplant) GetJitter() int64

func (*PayloadImplant) GetKillDate

func (x *PayloadImplant) GetKillDate() int64

func (*PayloadImplant) GetLhost

func (x *PayloadImplant) GetLhost() string

func (*PayloadImplant) GetLport

func (x *PayloadImplant) GetLport() int32

func (*PayloadImplant) GetLprotocol

func (x *PayloadImplant) GetLprotocol() string

func (*PayloadImplant) GetName

func (x *PayloadImplant) GetName() string

func (*PayloadImplant) GetOs

func (x *PayloadImplant) GetOs() string

func (*PayloadImplant) GetSleep

func (x *PayloadImplant) GetSleep() int64

func (*PayloadImplant) GetType

func (x *PayloadImplant) GetType() string

func (*PayloadImplant) GetUuid

func (x *PayloadImplant) GetUuid() string

func (*PayloadImplant) ProtoMessage

func (*PayloadImplant) ProtoMessage()

func (*PayloadImplant) ProtoReflect

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

func (*PayloadImplant) Reset

func (x *PayloadImplant) Reset()

func (*PayloadImplant) String

func (x *PayloadImplant) String() string

type PayloadLoader

type PayloadLoader struct {
	Id               int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid             string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name             string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Os               string `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"`
	Arch             string `protobuf:"bytes,5,opt,name=arch,proto3" json:"arch,omitempty"`
	Format           string `protobuf:"bytes,6,opt,name=format,proto3" json:"format,omitempty"`
	Lprotocol        string `protobuf:"bytes,7,opt,name=lprotocol,proto3" json:"lprotocol,omitempty"`
	Lhost            string `protobuf:"bytes,8,opt,name=lhost,proto3" json:"lhost,omitempty"`
	Lport            int32  `protobuf:"varint,9,opt,name=lport,proto3" json:"lport,omitempty"`
	Type             string `protobuf:"bytes,10,opt,name=type,proto3" json:"type,omitempty"`
	PayloadToLoad    string `protobuf:"bytes,11,opt,name=payloadToLoad,proto3" json:"payloadToLoad,omitempty"`
	Technique        string `protobuf:"bytes,12,opt,name=technique,proto3" json:"technique,omitempty"`
	ProcessToInject  string `protobuf:"bytes,13,opt,name=processToInject,proto3" json:"processToInject,omitempty"`
	IndirectSyscalls bool   `protobuf:"varint,14,opt,name=indirectSyscalls,proto3" json:"indirectSyscalls,omitempty"`
	AntiDebug        bool   `protobuf:"varint,15,opt,name=antiDebug,proto3" json:"antiDebug,omitempty"`
	CompLevel        int64  `protobuf:"varint,16,opt,name=compLevel,proto3" json:"compLevel,omitempty"`
	// contains filtered or unexported fields
}

func (*PayloadLoader) Descriptor deprecated

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

Deprecated: Use PayloadLoader.ProtoReflect.Descriptor instead.

func (*PayloadLoader) GetAntiDebug

func (x *PayloadLoader) GetAntiDebug() bool

func (*PayloadLoader) GetArch

func (x *PayloadLoader) GetArch() string

func (*PayloadLoader) GetCompLevel

func (x *PayloadLoader) GetCompLevel() int64

func (*PayloadLoader) GetFormat

func (x *PayloadLoader) GetFormat() string

func (*PayloadLoader) GetId

func (x *PayloadLoader) GetId() int64

func (*PayloadLoader) GetIndirectSyscalls

func (x *PayloadLoader) GetIndirectSyscalls() bool

func (*PayloadLoader) GetLhost

func (x *PayloadLoader) GetLhost() string

func (*PayloadLoader) GetLport

func (x *PayloadLoader) GetLport() int32

func (*PayloadLoader) GetLprotocol

func (x *PayloadLoader) GetLprotocol() string

func (*PayloadLoader) GetName

func (x *PayloadLoader) GetName() string

func (*PayloadLoader) GetOs

func (x *PayloadLoader) GetOs() string

func (*PayloadLoader) GetPayloadToLoad

func (x *PayloadLoader) GetPayloadToLoad() string

func (*PayloadLoader) GetProcessToInject

func (x *PayloadLoader) GetProcessToInject() string

func (*PayloadLoader) GetTechnique

func (x *PayloadLoader) GetTechnique() string

func (*PayloadLoader) GetType

func (x *PayloadLoader) GetType() string

func (*PayloadLoader) GetUuid

func (x *PayloadLoader) GetUuid() string

func (*PayloadLoader) ProtoMessage

func (*PayloadLoader) ProtoMessage()

func (*PayloadLoader) ProtoReflect

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

func (*PayloadLoader) Reset

func (x *PayloadLoader) Reset()

func (*PayloadLoader) String

func (x *PayloadLoader) String() string

type PayloadModule

type PayloadModule struct {
	Id        int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Uuid      string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name      string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Os        string `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"`
	Arch      string `protobuf:"bytes,5,opt,name=arch,proto3" json:"arch,omitempty"`
	Format    string `protobuf:"bytes,6,opt,name=format,proto3" json:"format,omitempty"`
	Lprotocol string `protobuf:"bytes,7,opt,name=lprotocol,proto3" json:"lprotocol,omitempty"`
	Lhost     string `protobuf:"bytes,8,opt,name=lhost,proto3" json:"lhost,omitempty"`
	Lport     int32  `protobuf:"varint,9,opt,name=lport,proto3" json:"lport,omitempty"`
	Type      string `protobuf:"bytes,10,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*PayloadModule) Descriptor deprecated

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

Deprecated: Use PayloadModule.ProtoReflect.Descriptor instead.

func (*PayloadModule) GetArch

func (x *PayloadModule) GetArch() string

func (*PayloadModule) GetFormat

func (x *PayloadModule) GetFormat() string

func (*PayloadModule) GetId

func (x *PayloadModule) GetId() int64

func (*PayloadModule) GetLhost

func (x *PayloadModule) GetLhost() string

func (*PayloadModule) GetLport

func (x *PayloadModule) GetLport() int32

func (*PayloadModule) GetLprotocol

func (x *PayloadModule) GetLprotocol() string

func (*PayloadModule) GetName

func (x *PayloadModule) GetName() string

func (*PayloadModule) GetOs

func (x *PayloadModule) GetOs() string

func (*PayloadModule) GetType

func (x *PayloadModule) GetType() string

func (*PayloadModule) GetUuid

func (x *PayloadModule) GetUuid() string

func (*PayloadModule) ProtoMessage

func (*PayloadModule) ProtoMessage()

func (*PayloadModule) ProtoReflect

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

func (*PayloadModule) Reset

func (x *PayloadModule) Reset()

func (*PayloadModule) String

func (x *PayloadModule) String() string

type Task

type Task struct {
	Task      string `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
	AgentName string `protobuf:"bytes,2,opt,name=agentName,proto3" json:"agentName,omitempty"`
	// contains filtered or unexported fields
}

func (*Task) Descriptor deprecated

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

Deprecated: Use Task.ProtoReflect.Descriptor instead.

func (*Task) GetAgentName

func (x *Task) GetAgentName() string

func (*Task) GetTask

func (x *Task) GetTask() string

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 UnimplementedHermitRPCServer

type UnimplementedHermitRPCServer struct {
}

UnimplementedHermitRPCServer must be embedded to have forward compatible implementations.

func (UnimplementedHermitRPCServer) AgentDeleteById

func (UnimplementedHermitRPCServer) AgentGetAll

func (UnimplementedHermitRPCServer) AgentGetById

func (UnimplementedHermitRPCServer) AgentTaskList

func (UnimplementedHermitRPCServer) GetVersion

func (UnimplementedHermitRPCServer) ListenerDeleteById

func (UnimplementedHermitRPCServer) ListenerGetAll

func (UnimplementedHermitRPCServer) ListenerGetById

func (UnimplementedHermitRPCServer) ListenerPayloadsById

func (UnimplementedHermitRPCServer) ListenerPayloadsDeleteById

func (UnimplementedHermitRPCServer) ListenerStart

func (UnimplementedHermitRPCServer) ListenerStartById

func (UnimplementedHermitRPCServer) ListenerStopById

func (UnimplementedHermitRPCServer) LootClearByAgentName

func (UnimplementedHermitRPCServer) LootGetAll

func (UnimplementedHermitRPCServer) OperatorDeleteByUuid

func (UnimplementedHermitRPCServer) OperatorGetAll

func (UnimplementedHermitRPCServer) OperatorGetById

func (UnimplementedHermitRPCServer) OperatorRegister

func (UnimplementedHermitRPCServer) PayloadImplantGenerate

func (UnimplementedHermitRPCServer) PayloadLoaderGenerate

func (UnimplementedHermitRPCServer) PayloadModuleGenerate

func (UnimplementedHermitRPCServer) SayHello

func (UnimplementedHermitRPCServer) TaskClearByAgentName

func (UnimplementedHermitRPCServer) TaskListByAgentName

func (UnimplementedHermitRPCServer) TaskSetByAgentName

type UnsafeHermitRPCServer

type UnsafeHermitRPCServer interface {
	// contains filtered or unexported methods
}

UnsafeHermitRPCServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HermitRPCServer will result in compilation errors.

Jump to

Keyboard shortcuts

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