Documentation ¶
Index ¶
- Variables
- func RegisterHermitRPCServer(s grpc.ServiceRegistrar, srv HermitRPCServer)
- type Agent
- func (*Agent) Descriptor() ([]byte, []int)deprecated
- func (x *Agent) GetAesIV() string
- func (x *Agent) GetAesKey() string
- func (x *Agent) GetArch() string
- func (x *Agent) GetCheckInDate() string
- func (x *Agent) GetHostname() string
- func (x *Agent) GetId() int64
- func (x *Agent) GetImplantType() string
- func (x *Agent) GetIp() string
- func (x *Agent) GetJitter() int64
- func (x *Agent) GetKillDate() int64
- func (x *Agent) GetListenerURL() string
- func (x *Agent) GetName() string
- func (x *Agent) GetOs() string
- func (x *Agent) GetSessionId() string
- func (x *Agent) GetSleep() int64
- func (x *Agent) GetUuid() string
- func (*Agent) ProtoMessage()
- func (x *Agent) ProtoReflect() protoreflect.Message
- func (x *Agent) Reset()
- func (x *Agent) String() string
- type HermitRPCClient
- type HermitRPCServer
- type HermitRPC_AgentGetAllClient
- type HermitRPC_AgentGetAllServer
- type HermitRPC_ListenerGetAllClient
- type HermitRPC_ListenerGetAllServer
- type HermitRPC_OperatorGetAllClient
- type HermitRPC_OperatorGetAllServer
- type Listener
- func (*Listener) Descriptor() ([]byte, []int)deprecated
- func (x *Listener) GetActive() bool
- func (x *Listener) GetDomains() string
- func (x *Listener) GetHost() string
- func (x *Listener) GetId() int64
- func (x *Listener) GetName() string
- func (x *Listener) GetPort() int32
- func (x *Listener) GetProtocol() string
- func (x *Listener) GetUuid() string
- func (*Listener) ProtoMessage()
- func (x *Listener) ProtoReflect() protoreflect.Message
- func (x *Listener) Reset()
- func (x *Listener) String() string
- type ListenerPayload
- func (*ListenerPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ListenerPayload) GetId() int64
- func (x *ListenerPayload) GetPayloadName() string
- func (*ListenerPayload) ProtoMessage()
- func (x *ListenerPayload) ProtoReflect() protoreflect.Message
- func (x *ListenerPayload) Reset()
- func (x *ListenerPayload) String() string
- type Loot
- type Operator
- func (*Operator) Descriptor() ([]byte, []int)deprecated
- func (x *Operator) GetId() int64
- func (x *Operator) GetLogin() string
- func (x *Operator) GetName() string
- func (x *Operator) GetUuid() string
- func (*Operator) ProtoMessage()
- func (x *Operator) ProtoReflect() protoreflect.Message
- func (x *Operator) Reset()
- func (x *Operator) String() string
- type PayloadImplant
- func (*PayloadImplant) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadImplant) GetAntiDebug() bool
- func (x *PayloadImplant) GetArch() string
- func (x *PayloadImplant) GetCompLevel() int64
- func (x *PayloadImplant) GetFormat() string
- func (x *PayloadImplant) GetId() int64
- func (x *PayloadImplant) GetIndirectSyscalls() bool
- func (x *PayloadImplant) GetJitter() int64
- func (x *PayloadImplant) GetKillDate() int64
- func (x *PayloadImplant) GetLhost() string
- func (x *PayloadImplant) GetLport() int32
- func (x *PayloadImplant) GetLprotocol() string
- func (x *PayloadImplant) GetName() string
- func (x *PayloadImplant) GetOs() string
- func (x *PayloadImplant) GetSleep() int64
- func (x *PayloadImplant) GetType() string
- func (x *PayloadImplant) GetUuid() string
- func (*PayloadImplant) ProtoMessage()
- func (x *PayloadImplant) ProtoReflect() protoreflect.Message
- func (x *PayloadImplant) Reset()
- func (x *PayloadImplant) String() string
- type PayloadLoader
- func (*PayloadLoader) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadLoader) GetAntiDebug() bool
- func (x *PayloadLoader) GetArch() string
- func (x *PayloadLoader) GetCompLevel() int64
- func (x *PayloadLoader) GetFormat() string
- func (x *PayloadLoader) GetId() int64
- func (x *PayloadLoader) GetIndirectSyscalls() bool
- func (x *PayloadLoader) GetLhost() string
- func (x *PayloadLoader) GetLport() int32
- func (x *PayloadLoader) GetLprotocol() string
- func (x *PayloadLoader) GetName() string
- func (x *PayloadLoader) GetOs() string
- func (x *PayloadLoader) GetPayloadToLoad() string
- func (x *PayloadLoader) GetProcessToInject() string
- func (x *PayloadLoader) GetTechnique() string
- func (x *PayloadLoader) GetType() string
- func (x *PayloadLoader) GetUuid() string
- func (*PayloadLoader) ProtoMessage()
- func (x *PayloadLoader) ProtoReflect() protoreflect.Message
- func (x *PayloadLoader) Reset()
- func (x *PayloadLoader) String() string
- type PayloadModule
- func (*PayloadModule) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadModule) GetArch() string
- func (x *PayloadModule) GetFormat() string
- func (x *PayloadModule) GetId() int64
- func (x *PayloadModule) GetLhost() string
- func (x *PayloadModule) GetLport() int32
- func (x *PayloadModule) GetLprotocol() string
- func (x *PayloadModule) GetName() string
- func (x *PayloadModule) GetOs() string
- func (x *PayloadModule) GetType() string
- func (x *PayloadModule) GetUuid() string
- func (*PayloadModule) ProtoMessage()
- func (x *PayloadModule) ProtoReflect() protoreflect.Message
- func (x *PayloadModule) Reset()
- func (x *PayloadModule) String() string
- type Task
- type UnimplementedHermitRPCServer
- func (UnimplementedHermitRPCServer) AgentDeleteById(context.Context, *commonpb.Id) (*commonpb.Message, error)
- func (UnimplementedHermitRPCServer) AgentGetAll(*commonpb.Empty, HermitRPC_AgentGetAllServer) error
- func (UnimplementedHermitRPCServer) AgentGetById(context.Context, *commonpb.Id) (*Agent, error)
- func (UnimplementedHermitRPCServer) AgentTaskList(context.Context, *commonpb.Empty) (*commonpb.Message, error)
- func (UnimplementedHermitRPCServer) GetVersion(context.Context, *commonpb.Empty) (*commonpb.Message, error)
- func (UnimplementedHermitRPCServer) ListenerDeleteById(context.Context, *commonpb.Id) (*commonpb.Message, error)
- func (UnimplementedHermitRPCServer) ListenerGetAll(*commonpb.Empty, HermitRPC_ListenerGetAllServer) error
- func (UnimplementedHermitRPCServer) ListenerGetById(context.Context, *commonpb.Id) (*Listener, error)
- func (UnimplementedHermitRPCServer) ListenerPayloadsById(context.Context, *commonpb.Id) (*commonpb.Message, error)
- func (UnimplementedHermitRPCServer) ListenerPayloadsDeleteById(context.Context, *ListenerPayload) (*commonpb.Message, error)
- func (UnimplementedHermitRPCServer) ListenerStart(context.Context, *Listener) (*commonpb.Message, error)
- func (UnimplementedHermitRPCServer) ListenerStartById(context.Context, *commonpb.Id) (*commonpb.Message, error)
- func (UnimplementedHermitRPCServer) ListenerStopById(context.Context, *commonpb.Id) (*commonpb.Message, error)
- func (UnimplementedHermitRPCServer) LootClearByAgentName(context.Context, *Loot) (*commonpb.Message, error)
- func (UnimplementedHermitRPCServer) LootGetAll(context.Context, *Loot) (*commonpb.Message, error)
- func (UnimplementedHermitRPCServer) OperatorDeleteByUuid(context.Context, *commonpb.Uuid) (*commonpb.Message, error)
- func (UnimplementedHermitRPCServer) OperatorGetAll(*commonpb.Empty, HermitRPC_OperatorGetAllServer) error
- func (UnimplementedHermitRPCServer) OperatorGetById(context.Context, *commonpb.Id) (*Operator, error)
- func (UnimplementedHermitRPCServer) OperatorRegister(context.Context, *Operator) (*commonpb.Message, error)
- func (UnimplementedHermitRPCServer) PayloadImplantGenerate(context.Context, *PayloadImplant) (*commonpb.Binary, error)
- func (UnimplementedHermitRPCServer) PayloadLoaderGenerate(context.Context, *PayloadLoader) (*commonpb.Binary, error)
- func (UnimplementedHermitRPCServer) PayloadModuleGenerate(context.Context, *PayloadModule) (*commonpb.Binary, error)
- func (UnimplementedHermitRPCServer) SayHello(context.Context, *commonpb.Empty) (*commonpb.Message, error)
- func (UnimplementedHermitRPCServer) TaskClearByAgentName(context.Context, *Task) (*commonpb.Message, error)
- func (UnimplementedHermitRPCServer) TaskListByAgentName(context.Context, *Task) (*commonpb.Message, error)
- func (UnimplementedHermitRPCServer) TaskSetByAgentName(context.Context, *Task) (*commonpb.Message, error)
- type UnsafeHermitRPCServer
Constants ¶
This section is empty.
Variables ¶
var File_rpcpb_rpc_proto protoreflect.FileDescriptor
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) GetCheckInDate ¶
func (*Agent) GetHostname ¶
func (*Agent) GetImplantType ¶
func (*Agent) GetKillDate ¶
func (*Agent) GetListenerURL ¶
func (*Agent) GetSessionId ¶
func (*Agent) ProtoMessage ¶
func (*Agent) ProtoMessage()
func (*Agent) ProtoReflect ¶
func (x *Agent) ProtoReflect() protoreflect.Message
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) GetDomains ¶
func (*Listener) GetProtocol ¶
func (*Listener) ProtoMessage ¶
func (*Listener) ProtoMessage()
func (*Listener) ProtoReflect ¶
func (x *Listener) ProtoReflect() protoreflect.Message
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) GetAgentName ¶
func (*Loot) ProtoMessage ¶
func (*Loot) ProtoMessage()
func (*Loot) ProtoReflect ¶
func (x *Loot) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Operator) ProtoMessage()
func (*Operator) ProtoReflect ¶
func (x *Operator) ProtoReflect() protoreflect.Message
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) GetAgentName ¶
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) ProtoReflect ¶
func (x *Task) ProtoReflect() protoreflect.Message
type UnimplementedHermitRPCServer ¶
type UnimplementedHermitRPCServer struct { }
UnimplementedHermitRPCServer must be embedded to have forward compatible implementations.
func (UnimplementedHermitRPCServer) AgentDeleteById ¶
func (UnimplementedHermitRPCServer) AgentGetAll ¶
func (UnimplementedHermitRPCServer) AgentGetAll(*commonpb.Empty, HermitRPC_AgentGetAllServer) error
func (UnimplementedHermitRPCServer) AgentGetById ¶
func (UnimplementedHermitRPCServer) AgentTaskList ¶
func (UnimplementedHermitRPCServer) GetVersion ¶
func (UnimplementedHermitRPCServer) ListenerDeleteById ¶
func (UnimplementedHermitRPCServer) ListenerGetAll ¶
func (UnimplementedHermitRPCServer) ListenerGetAll(*commonpb.Empty, HermitRPC_ListenerGetAllServer) error
func (UnimplementedHermitRPCServer) ListenerGetById ¶
func (UnimplementedHermitRPCServer) ListenerPayloadsById ¶
func (UnimplementedHermitRPCServer) ListenerPayloadsDeleteById ¶
func (UnimplementedHermitRPCServer) ListenerPayloadsDeleteById(context.Context, *ListenerPayload) (*commonpb.Message, error)
func (UnimplementedHermitRPCServer) ListenerStart ¶
func (UnimplementedHermitRPCServer) ListenerStartById ¶
func (UnimplementedHermitRPCServer) ListenerStopById ¶
func (UnimplementedHermitRPCServer) LootClearByAgentName ¶
func (UnimplementedHermitRPCServer) LootGetAll ¶
func (UnimplementedHermitRPCServer) OperatorDeleteByUuid ¶
func (UnimplementedHermitRPCServer) OperatorGetAll ¶
func (UnimplementedHermitRPCServer) OperatorGetAll(*commonpb.Empty, HermitRPC_OperatorGetAllServer) error
func (UnimplementedHermitRPCServer) OperatorGetById ¶
func (UnimplementedHermitRPCServer) OperatorRegister ¶
func (UnimplementedHermitRPCServer) PayloadImplantGenerate ¶
func (UnimplementedHermitRPCServer) PayloadImplantGenerate(context.Context, *PayloadImplant) (*commonpb.Binary, error)
func (UnimplementedHermitRPCServer) PayloadLoaderGenerate ¶
func (UnimplementedHermitRPCServer) PayloadLoaderGenerate(context.Context, *PayloadLoader) (*commonpb.Binary, error)
func (UnimplementedHermitRPCServer) PayloadModuleGenerate ¶
func (UnimplementedHermitRPCServer) PayloadModuleGenerate(context.Context, *PayloadModule) (*commonpb.Binary, error)
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.