Documentation ¶
Index ¶
- Variables
- func RegisterPushC2Server(s grpc.ServiceRegistrar, srv PushC2Server)
- func RegisterTranslationContainerServer(s grpc.ServiceRegistrar, srv TranslationContainerServer)
- type CryptoKeysFormat
- func (*CryptoKeysFormat) Descriptor() ([]byte, []int)deprecated
- func (x *CryptoKeysFormat) GetDecKey() []byte
- func (x *CryptoKeysFormat) GetEncKey() []byte
- func (x *CryptoKeysFormat) GetValue() string
- func (*CryptoKeysFormat) ProtoMessage()
- func (x *CryptoKeysFormat) ProtoReflect() protoreflect.Message
- func (x *CryptoKeysFormat) Reset()
- func (x *CryptoKeysFormat) String() string
- type PushC2Client
- type PushC2MessageFromAgent
- func (*PushC2MessageFromAgent) Descriptor() ([]byte, []int)deprecated
- func (x *PushC2MessageFromAgent) GetAgentDisconnected() bool
- func (x *PushC2MessageFromAgent) GetBase64Message() []byte
- func (x *PushC2MessageFromAgent) GetC2ProfileName() string
- func (x *PushC2MessageFromAgent) GetMessage() []byte
- func (x *PushC2MessageFromAgent) GetOuterUUID() string
- func (x *PushC2MessageFromAgent) GetRemoteIP() string
- func (x *PushC2MessageFromAgent) GetTrackingID() string
- func (*PushC2MessageFromAgent) ProtoMessage()
- func (x *PushC2MessageFromAgent) ProtoReflect() protoreflect.Message
- func (x *PushC2MessageFromAgent) Reset()
- func (x *PushC2MessageFromAgent) String() string
- type PushC2MessageFromMythic
- func (*PushC2MessageFromMythic) Descriptor() ([]byte, []int)deprecated
- func (x *PushC2MessageFromMythic) GetError() string
- func (x *PushC2MessageFromMythic) GetMessage() []byte
- func (x *PushC2MessageFromMythic) GetSuccess() bool
- func (x *PushC2MessageFromMythic) GetTrackingID() string
- func (*PushC2MessageFromMythic) ProtoMessage()
- func (x *PushC2MessageFromMythic) ProtoReflect() protoreflect.Message
- func (x *PushC2MessageFromMythic) Reset()
- func (x *PushC2MessageFromMythic) String() string
- type PushC2Server
- type PushC2_StartPushC2StreamingClient
- type PushC2_StartPushC2StreamingOneToManyClient
- type PushC2_StartPushC2StreamingOneToManyServer
- type PushC2_StartPushC2StreamingServer
- type TrCustomMessageToMythicC2FormatMessage
- func (*TrCustomMessageToMythicC2FormatMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TrCustomMessageToMythicC2FormatMessage) GetC2Name() string
- func (x *TrCustomMessageToMythicC2FormatMessage) GetCryptoKeys() []*CryptoKeysFormat
- func (x *TrCustomMessageToMythicC2FormatMessage) GetMessage() []byte
- func (x *TrCustomMessageToMythicC2FormatMessage) GetMythicEncrypts() bool
- func (x *TrCustomMessageToMythicC2FormatMessage) GetTranslationContainerName() string
- func (x *TrCustomMessageToMythicC2FormatMessage) GetUUID() string
- func (*TrCustomMessageToMythicC2FormatMessage) ProtoMessage()
- func (x *TrCustomMessageToMythicC2FormatMessage) ProtoReflect() protoreflect.Message
- func (x *TrCustomMessageToMythicC2FormatMessage) Reset()
- func (x *TrCustomMessageToMythicC2FormatMessage) String() string
- type TrCustomMessageToMythicC2FormatMessageResponse
- func (*TrCustomMessageToMythicC2FormatMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TrCustomMessageToMythicC2FormatMessageResponse) GetError() string
- func (x *TrCustomMessageToMythicC2FormatMessageResponse) GetMessage() []byte
- func (x *TrCustomMessageToMythicC2FormatMessageResponse) GetSuccess() bool
- func (x *TrCustomMessageToMythicC2FormatMessageResponse) GetTranslationContainerName() string
- func (*TrCustomMessageToMythicC2FormatMessageResponse) ProtoMessage()
- func (x *TrCustomMessageToMythicC2FormatMessageResponse) ProtoReflect() protoreflect.Message
- func (x *TrCustomMessageToMythicC2FormatMessageResponse) Reset()
- func (x *TrCustomMessageToMythicC2FormatMessageResponse) String() string
- type TrGenerateEncryptionKeysMessage
- func (*TrGenerateEncryptionKeysMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TrGenerateEncryptionKeysMessage) GetC2Name() string
- func (x *TrGenerateEncryptionKeysMessage) GetCryptoParamName() string
- func (x *TrGenerateEncryptionKeysMessage) GetCryptoParamValue() string
- func (x *TrGenerateEncryptionKeysMessage) GetTranslationContainerName() string
- func (*TrGenerateEncryptionKeysMessage) ProtoMessage()
- func (x *TrGenerateEncryptionKeysMessage) ProtoReflect() protoreflect.Message
- func (x *TrGenerateEncryptionKeysMessage) Reset()
- func (x *TrGenerateEncryptionKeysMessage) String() string
- type TrGenerateEncryptionKeysMessageResponse
- func (*TrGenerateEncryptionKeysMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TrGenerateEncryptionKeysMessageResponse) GetDecryptionKey() []byte
- func (x *TrGenerateEncryptionKeysMessageResponse) GetEncryptionKey() []byte
- func (x *TrGenerateEncryptionKeysMessageResponse) GetError() string
- func (x *TrGenerateEncryptionKeysMessageResponse) GetSuccess() bool
- func (x *TrGenerateEncryptionKeysMessageResponse) GetTranslationContainerName() string
- func (*TrGenerateEncryptionKeysMessageResponse) ProtoMessage()
- func (x *TrGenerateEncryptionKeysMessageResponse) ProtoReflect() protoreflect.Message
- func (x *TrGenerateEncryptionKeysMessageResponse) Reset()
- func (x *TrGenerateEncryptionKeysMessageResponse) String() string
- type TrMythicC2ToCustomMessageFormatMessage
- func (*TrMythicC2ToCustomMessageFormatMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TrMythicC2ToCustomMessageFormatMessage) GetC2Name() string
- func (x *TrMythicC2ToCustomMessageFormatMessage) GetCryptoKeys() []*CryptoKeysFormat
- func (x *TrMythicC2ToCustomMessageFormatMessage) GetMessage() []byte
- func (x *TrMythicC2ToCustomMessageFormatMessage) GetMythicEncrypts() bool
- func (x *TrMythicC2ToCustomMessageFormatMessage) GetTranslationContainerName() string
- func (x *TrMythicC2ToCustomMessageFormatMessage) GetUUID() string
- func (*TrMythicC2ToCustomMessageFormatMessage) ProtoMessage()
- func (x *TrMythicC2ToCustomMessageFormatMessage) ProtoReflect() protoreflect.Message
- func (x *TrMythicC2ToCustomMessageFormatMessage) Reset()
- func (x *TrMythicC2ToCustomMessageFormatMessage) String() string
- type TrMythicC2ToCustomMessageFormatMessageResponse
- func (*TrMythicC2ToCustomMessageFormatMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TrMythicC2ToCustomMessageFormatMessageResponse) GetError() string
- func (x *TrMythicC2ToCustomMessageFormatMessageResponse) GetMessage() []byte
- func (x *TrMythicC2ToCustomMessageFormatMessageResponse) GetSuccess() bool
- func (x *TrMythicC2ToCustomMessageFormatMessageResponse) GetTranslationContainerName() string
- func (*TrMythicC2ToCustomMessageFormatMessageResponse) ProtoMessage()
- func (x *TrMythicC2ToCustomMessageFormatMessageResponse) ProtoReflect() protoreflect.Message
- func (x *TrMythicC2ToCustomMessageFormatMessageResponse) Reset()
- func (x *TrMythicC2ToCustomMessageFormatMessageResponse) String() string
- type TranslationContainerClient
- type TranslationContainerServer
- type TranslationContainer_GenerateEncryptionKeysClient
- type TranslationContainer_GenerateEncryptionKeysServer
- type TranslationContainer_TranslateFromCustomToMythicFormatClient
- type TranslationContainer_TranslateFromCustomToMythicFormatServer
- type TranslationContainer_TranslateFromMythicToCustomFormatClient
- type TranslationContainer_TranslateFromMythicToCustomFormatServer
- type UnimplementedPushC2Server
- type UnimplementedTranslationContainerServer
- func (UnimplementedTranslationContainerServer) GenerateEncryptionKeys(TranslationContainer_GenerateEncryptionKeysServer) error
- func (UnimplementedTranslationContainerServer) TranslateFromCustomToMythicFormat(TranslationContainer_TranslateFromCustomToMythicFormatServer) error
- func (UnimplementedTranslationContainerServer) TranslateFromMythicToCustomFormat(TranslationContainer_TranslateFromMythicToCustomFormatServer) error
- type UnsafePushC2Server
- type UnsafeTranslationContainerServer
Constants ¶
This section is empty.
Variables ¶
var File_pushC2GRPC_proto protoreflect.FileDescriptor
var File_translationContainerGRPC_proto protoreflect.FileDescriptor
var PushC2_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pushC2Services.PushC2", HandlerType: (*PushC2Server)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "StartPushC2Streaming", Handler: _PushC2_StartPushC2Streaming_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "StartPushC2StreamingOneToMany", Handler: _PushC2_StartPushC2StreamingOneToMany_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "pushC2GRPC.proto", }
PushC2_ServiceDesc is the grpc.ServiceDesc for PushC2 service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TranslationContainer_ServiceDesc = grpc.ServiceDesc{ ServiceName: "translationContainerServices.TranslationContainer", HandlerType: (*TranslationContainerServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "TranslateFromCustomToMythicFormat", Handler: _TranslationContainer_TranslateFromCustomToMythicFormat_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "TranslateFromMythicToCustomFormat", Handler: _TranslationContainer_TranslateFromMythicToCustomFormat_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "GenerateEncryptionKeys", Handler: _TranslationContainer_GenerateEncryptionKeys_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "translationContainerGRPC.proto", }
TranslationContainer_ServiceDesc is the grpc.ServiceDesc for TranslationContainer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPushC2Server ¶ added in v1.1.0
func RegisterPushC2Server(s grpc.ServiceRegistrar, srv PushC2Server)
func RegisterTranslationContainerServer ¶
func RegisterTranslationContainerServer(s grpc.ServiceRegistrar, srv TranslationContainerServer)
Types ¶
type CryptoKeysFormat ¶
type CryptoKeysFormat struct { EncKey []byte `protobuf:"bytes,1,opt,name=EncKey,proto3" json:"EncKey,omitempty"` DecKey []byte `protobuf:"bytes,2,opt,name=DecKey,proto3" json:"DecKey,omitempty"` Value string `protobuf:"bytes,3,opt,name=Value,proto3" json:"Value,omitempty"` // contains filtered or unexported fields }
func (*CryptoKeysFormat) Descriptor
deprecated
func (*CryptoKeysFormat) Descriptor() ([]byte, []int)
Deprecated: Use CryptoKeysFormat.ProtoReflect.Descriptor instead.
func (*CryptoKeysFormat) GetDecKey ¶
func (x *CryptoKeysFormat) GetDecKey() []byte
func (*CryptoKeysFormat) GetEncKey ¶
func (x *CryptoKeysFormat) GetEncKey() []byte
func (*CryptoKeysFormat) GetValue ¶
func (x *CryptoKeysFormat) GetValue() string
func (*CryptoKeysFormat) ProtoMessage ¶
func (*CryptoKeysFormat) ProtoMessage()
func (*CryptoKeysFormat) ProtoReflect ¶
func (x *CryptoKeysFormat) ProtoReflect() protoreflect.Message
func (*CryptoKeysFormat) Reset ¶
func (x *CryptoKeysFormat) Reset()
func (*CryptoKeysFormat) String ¶
func (x *CryptoKeysFormat) String() string
type PushC2Client ¶ added in v1.1.0
type PushC2Client interface { // rpc function(messageFromClient) messageToClient StartPushC2Streaming(ctx context.Context, opts ...grpc.CallOption) (PushC2_StartPushC2StreamingClient, error) StartPushC2StreamingOneToMany(ctx context.Context, opts ...grpc.CallOption) (PushC2_StartPushC2StreamingOneToManyClient, error) }
PushC2Client is the client API for PushC2 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 NewPushC2Client ¶ added in v1.1.0
func NewPushC2Client(cc grpc.ClientConnInterface) PushC2Client
type PushC2MessageFromAgent ¶ added in v1.1.0
type PushC2MessageFromAgent struct { C2ProfileName string `protobuf:"bytes,1,opt,name=C2ProfileName,proto3" json:"C2ProfileName,omitempty"` RemoteIP string `protobuf:"bytes,2,opt,name=RemoteIP,proto3" json:"RemoteIP,omitempty"` Message []byte `protobuf:"bytes,3,opt,name=Message,proto3" json:"Message,omitempty"` OuterUUID string `protobuf:"bytes,4,opt,name=OuterUUID,proto3" json:"OuterUUID,omitempty"` Base64Message []byte `protobuf:"bytes,5,opt,name=Base64Message,proto3" json:"Base64Message,omitempty"` TrackingID string `protobuf:"bytes,6,opt,name=TrackingID,proto3" json:"TrackingID,omitempty"` AgentDisconnected bool `protobuf:"varint,7,opt,name=AgentDisconnected,proto3" json:"AgentDisconnected,omitempty"` // contains filtered or unexported fields }
agent sends along the base64 message like normal and c2 profile adds in c2 profile name this is all normal c2 profiles pass along to mythic anyway C2ProfileName is required RemoteIP should be the IP of the remote connection to the c2 profile if known Message is a base64 decoded message if you want the c2 profile to base64 decode what the agents are saying Base64Message is what an agent would normally send. This is mutually exclusive with Message TrackingID is some custom string that the c2 server provides so that it can correlate input with output from the stream
func (*PushC2MessageFromAgent) Descriptor
deprecated
added in
v1.1.0
func (*PushC2MessageFromAgent) Descriptor() ([]byte, []int)
Deprecated: Use PushC2MessageFromAgent.ProtoReflect.Descriptor instead.
func (*PushC2MessageFromAgent) GetAgentDisconnected ¶ added in v1.3.12
func (x *PushC2MessageFromAgent) GetAgentDisconnected() bool
func (*PushC2MessageFromAgent) GetBase64Message ¶ added in v1.1.0
func (x *PushC2MessageFromAgent) GetBase64Message() []byte
func (*PushC2MessageFromAgent) GetC2ProfileName ¶ added in v1.1.0
func (x *PushC2MessageFromAgent) GetC2ProfileName() string
func (*PushC2MessageFromAgent) GetMessage ¶ added in v1.1.0
func (x *PushC2MessageFromAgent) GetMessage() []byte
func (*PushC2MessageFromAgent) GetOuterUUID ¶ added in v1.3.12
func (x *PushC2MessageFromAgent) GetOuterUUID() string
func (*PushC2MessageFromAgent) GetRemoteIP ¶ added in v1.1.0
func (x *PushC2MessageFromAgent) GetRemoteIP() string
func (*PushC2MessageFromAgent) GetTrackingID ¶ added in v1.3.12
func (x *PushC2MessageFromAgent) GetTrackingID() string
func (*PushC2MessageFromAgent) ProtoMessage ¶ added in v1.1.0
func (*PushC2MessageFromAgent) ProtoMessage()
func (*PushC2MessageFromAgent) ProtoReflect ¶ added in v1.1.0
func (x *PushC2MessageFromAgent) ProtoReflect() protoreflect.Message
func (*PushC2MessageFromAgent) Reset ¶ added in v1.1.0
func (x *PushC2MessageFromAgent) Reset()
func (*PushC2MessageFromAgent) String ¶ added in v1.1.0
func (x *PushC2MessageFromAgent) String() string
type PushC2MessageFromMythic ¶ added in v1.1.0
type PushC2MessageFromMythic struct { Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"` Error string `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"` Message []byte `protobuf:"bytes,3,opt,name=Message,proto3" json:"Message,omitempty"` TrackingID string `protobuf:"bytes,4,opt,name=TrackingID,proto3" json:"TrackingID,omitempty"` // contains filtered or unexported fields }
mythic sends along success/error information if any mythic sends along the messages
func (*PushC2MessageFromMythic) Descriptor
deprecated
added in
v1.1.0
func (*PushC2MessageFromMythic) Descriptor() ([]byte, []int)
Deprecated: Use PushC2MessageFromMythic.ProtoReflect.Descriptor instead.
func (*PushC2MessageFromMythic) GetError ¶ added in v1.1.0
func (x *PushC2MessageFromMythic) GetError() string
func (*PushC2MessageFromMythic) GetMessage ¶ added in v1.1.0
func (x *PushC2MessageFromMythic) GetMessage() []byte
func (*PushC2MessageFromMythic) GetSuccess ¶ added in v1.1.0
func (x *PushC2MessageFromMythic) GetSuccess() bool
func (*PushC2MessageFromMythic) GetTrackingID ¶ added in v1.3.12
func (x *PushC2MessageFromMythic) GetTrackingID() string
func (*PushC2MessageFromMythic) ProtoMessage ¶ added in v1.1.0
func (*PushC2MessageFromMythic) ProtoMessage()
func (*PushC2MessageFromMythic) ProtoReflect ¶ added in v1.1.0
func (x *PushC2MessageFromMythic) ProtoReflect() protoreflect.Message
func (*PushC2MessageFromMythic) Reset ¶ added in v1.1.0
func (x *PushC2MessageFromMythic) Reset()
func (*PushC2MessageFromMythic) String ¶ added in v1.1.0
func (x *PushC2MessageFromMythic) String() string
type PushC2Server ¶ added in v1.1.0
type PushC2Server interface { // rpc function(messageFromClient) messageToClient StartPushC2Streaming(PushC2_StartPushC2StreamingServer) error StartPushC2StreamingOneToMany(PushC2_StartPushC2StreamingOneToManyServer) error // contains filtered or unexported methods }
PushC2Server is the server API for PushC2 service. All implementations must embed UnimplementedPushC2Server for forward compatibility
type PushC2_StartPushC2StreamingClient ¶ added in v1.1.0
type PushC2_StartPushC2StreamingClient interface { Send(*PushC2MessageFromAgent) error Recv() (*PushC2MessageFromMythic, error) grpc.ClientStream }
type PushC2_StartPushC2StreamingOneToManyClient ¶ added in v1.3.12
type PushC2_StartPushC2StreamingOneToManyClient interface { Send(*PushC2MessageFromAgent) error Recv() (*PushC2MessageFromMythic, error) grpc.ClientStream }
type PushC2_StartPushC2StreamingOneToManyServer ¶ added in v1.3.12
type PushC2_StartPushC2StreamingOneToManyServer interface { Send(*PushC2MessageFromMythic) error Recv() (*PushC2MessageFromAgent, error) grpc.ServerStream }
type PushC2_StartPushC2StreamingServer ¶ added in v1.1.0
type PushC2_StartPushC2StreamingServer interface { Send(*PushC2MessageFromMythic) error Recv() (*PushC2MessageFromAgent, error) grpc.ServerStream }
type TrCustomMessageToMythicC2FormatMessage ¶
type TrCustomMessageToMythicC2FormatMessage struct { TranslationContainerName string `protobuf:"bytes,1,opt,name=TranslationContainerName,proto3" json:"TranslationContainerName,omitempty"` C2Name string `protobuf:"bytes,2,opt,name=C2Name,proto3" json:"C2Name,omitempty"` Message []byte `protobuf:"bytes,3,opt,name=Message,proto3" json:"Message,omitempty"` UUID string `protobuf:"bytes,4,opt,name=UUID,proto3" json:"UUID,omitempty"` MythicEncrypts bool `protobuf:"varint,5,opt,name=MythicEncrypts,proto3" json:"MythicEncrypts,omitempty"` CryptoKeys []*CryptoKeysFormat `protobuf:"bytes,6,rep,name=CryptoKeys,proto3" json:"CryptoKeys,omitempty"` // contains filtered or unexported fields }
func (*TrCustomMessageToMythicC2FormatMessage) Descriptor
deprecated
func (*TrCustomMessageToMythicC2FormatMessage) Descriptor() ([]byte, []int)
Deprecated: Use TrCustomMessageToMythicC2FormatMessage.ProtoReflect.Descriptor instead.
func (*TrCustomMessageToMythicC2FormatMessage) GetC2Name ¶
func (x *TrCustomMessageToMythicC2FormatMessage) GetC2Name() string
func (*TrCustomMessageToMythicC2FormatMessage) GetCryptoKeys ¶
func (x *TrCustomMessageToMythicC2FormatMessage) GetCryptoKeys() []*CryptoKeysFormat
func (*TrCustomMessageToMythicC2FormatMessage) GetMessage ¶
func (x *TrCustomMessageToMythicC2FormatMessage) GetMessage() []byte
func (*TrCustomMessageToMythicC2FormatMessage) GetMythicEncrypts ¶
func (x *TrCustomMessageToMythicC2FormatMessage) GetMythicEncrypts() bool
func (*TrCustomMessageToMythicC2FormatMessage) GetTranslationContainerName ¶
func (x *TrCustomMessageToMythicC2FormatMessage) GetTranslationContainerName() string
func (*TrCustomMessageToMythicC2FormatMessage) GetUUID ¶
func (x *TrCustomMessageToMythicC2FormatMessage) GetUUID() string
func (*TrCustomMessageToMythicC2FormatMessage) ProtoMessage ¶
func (*TrCustomMessageToMythicC2FormatMessage) ProtoMessage()
func (*TrCustomMessageToMythicC2FormatMessage) ProtoReflect ¶
func (x *TrCustomMessageToMythicC2FormatMessage) ProtoReflect() protoreflect.Message
func (*TrCustomMessageToMythicC2FormatMessage) Reset ¶
func (x *TrCustomMessageToMythicC2FormatMessage) Reset()
func (*TrCustomMessageToMythicC2FormatMessage) String ¶
func (x *TrCustomMessageToMythicC2FormatMessage) String() string
type TrCustomMessageToMythicC2FormatMessageResponse ¶
type TrCustomMessageToMythicC2FormatMessageResponse struct { Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"` Error string `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"` Message []byte `protobuf:"bytes,3,opt,name=Message,proto3" json:"Message,omitempty"` TranslationContainerName string `protobuf:"bytes,4,opt,name=TranslationContainerName,proto3" json:"TranslationContainerName,omitempty"` // contains filtered or unexported fields }
func (*TrCustomMessageToMythicC2FormatMessageResponse) Descriptor
deprecated
func (*TrCustomMessageToMythicC2FormatMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use TrCustomMessageToMythicC2FormatMessageResponse.ProtoReflect.Descriptor instead.
func (*TrCustomMessageToMythicC2FormatMessageResponse) GetError ¶
func (x *TrCustomMessageToMythicC2FormatMessageResponse) GetError() string
func (*TrCustomMessageToMythicC2FormatMessageResponse) GetMessage ¶
func (x *TrCustomMessageToMythicC2FormatMessageResponse) GetMessage() []byte
func (*TrCustomMessageToMythicC2FormatMessageResponse) GetSuccess ¶
func (x *TrCustomMessageToMythicC2FormatMessageResponse) GetSuccess() bool
func (*TrCustomMessageToMythicC2FormatMessageResponse) GetTranslationContainerName ¶
func (x *TrCustomMessageToMythicC2FormatMessageResponse) GetTranslationContainerName() string
func (*TrCustomMessageToMythicC2FormatMessageResponse) ProtoMessage ¶
func (*TrCustomMessageToMythicC2FormatMessageResponse) ProtoMessage()
func (*TrCustomMessageToMythicC2FormatMessageResponse) ProtoReflect ¶
func (x *TrCustomMessageToMythicC2FormatMessageResponse) ProtoReflect() protoreflect.Message
func (*TrCustomMessageToMythicC2FormatMessageResponse) Reset ¶
func (x *TrCustomMessageToMythicC2FormatMessageResponse) Reset()
func (*TrCustomMessageToMythicC2FormatMessageResponse) String ¶
func (x *TrCustomMessageToMythicC2FormatMessageResponse) String() string
type TrGenerateEncryptionKeysMessage ¶
type TrGenerateEncryptionKeysMessage struct { TranslationContainerName string `protobuf:"bytes,1,opt,name=TranslationContainerName,proto3" json:"TranslationContainerName,omitempty"` C2Name string `protobuf:"bytes,2,opt,name=C2Name,proto3" json:"C2Name,omitempty"` CryptoParamValue string `protobuf:"bytes,3,opt,name=CryptoParamValue,proto3" json:"CryptoParamValue,omitempty"` CryptoParamName string `protobuf:"bytes,4,opt,name=CryptoParamName,proto3" json:"CryptoParamName,omitempty"` // contains filtered or unexported fields }
func (*TrGenerateEncryptionKeysMessage) Descriptor
deprecated
func (*TrGenerateEncryptionKeysMessage) Descriptor() ([]byte, []int)
Deprecated: Use TrGenerateEncryptionKeysMessage.ProtoReflect.Descriptor instead.
func (*TrGenerateEncryptionKeysMessage) GetC2Name ¶
func (x *TrGenerateEncryptionKeysMessage) GetC2Name() string
func (*TrGenerateEncryptionKeysMessage) GetCryptoParamName ¶
func (x *TrGenerateEncryptionKeysMessage) GetCryptoParamName() string
func (*TrGenerateEncryptionKeysMessage) GetCryptoParamValue ¶
func (x *TrGenerateEncryptionKeysMessage) GetCryptoParamValue() string
func (*TrGenerateEncryptionKeysMessage) GetTranslationContainerName ¶
func (x *TrGenerateEncryptionKeysMessage) GetTranslationContainerName() string
func (*TrGenerateEncryptionKeysMessage) ProtoMessage ¶
func (*TrGenerateEncryptionKeysMessage) ProtoMessage()
func (*TrGenerateEncryptionKeysMessage) ProtoReflect ¶
func (x *TrGenerateEncryptionKeysMessage) ProtoReflect() protoreflect.Message
func (*TrGenerateEncryptionKeysMessage) Reset ¶
func (x *TrGenerateEncryptionKeysMessage) Reset()
func (*TrGenerateEncryptionKeysMessage) String ¶
func (x *TrGenerateEncryptionKeysMessage) String() string
type TrGenerateEncryptionKeysMessageResponse ¶
type TrGenerateEncryptionKeysMessageResponse struct { Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"` Error string `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"` EncryptionKey []byte `protobuf:"bytes,3,opt,name=EncryptionKey,proto3" json:"EncryptionKey,omitempty"` DecryptionKey []byte `protobuf:"bytes,4,opt,name=DecryptionKey,proto3" json:"DecryptionKey,omitempty"` TranslationContainerName string `protobuf:"bytes,5,opt,name=TranslationContainerName,proto3" json:"TranslationContainerName,omitempty"` // contains filtered or unexported fields }
func (*TrGenerateEncryptionKeysMessageResponse) Descriptor
deprecated
func (*TrGenerateEncryptionKeysMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use TrGenerateEncryptionKeysMessageResponse.ProtoReflect.Descriptor instead.
func (*TrGenerateEncryptionKeysMessageResponse) GetDecryptionKey ¶
func (x *TrGenerateEncryptionKeysMessageResponse) GetDecryptionKey() []byte
func (*TrGenerateEncryptionKeysMessageResponse) GetEncryptionKey ¶
func (x *TrGenerateEncryptionKeysMessageResponse) GetEncryptionKey() []byte
func (*TrGenerateEncryptionKeysMessageResponse) GetError ¶
func (x *TrGenerateEncryptionKeysMessageResponse) GetError() string
func (*TrGenerateEncryptionKeysMessageResponse) GetSuccess ¶
func (x *TrGenerateEncryptionKeysMessageResponse) GetSuccess() bool
func (*TrGenerateEncryptionKeysMessageResponse) GetTranslationContainerName ¶
func (x *TrGenerateEncryptionKeysMessageResponse) GetTranslationContainerName() string
func (*TrGenerateEncryptionKeysMessageResponse) ProtoMessage ¶
func (*TrGenerateEncryptionKeysMessageResponse) ProtoMessage()
func (*TrGenerateEncryptionKeysMessageResponse) ProtoReflect ¶
func (x *TrGenerateEncryptionKeysMessageResponse) ProtoReflect() protoreflect.Message
func (*TrGenerateEncryptionKeysMessageResponse) Reset ¶
func (x *TrGenerateEncryptionKeysMessageResponse) Reset()
func (*TrGenerateEncryptionKeysMessageResponse) String ¶
func (x *TrGenerateEncryptionKeysMessageResponse) String() string
type TrMythicC2ToCustomMessageFormatMessage ¶
type TrMythicC2ToCustomMessageFormatMessage struct { TranslationContainerName string `protobuf:"bytes,1,opt,name=TranslationContainerName,proto3" json:"TranslationContainerName,omitempty"` C2Name string `protobuf:"bytes,2,opt,name=C2Name,proto3" json:"C2Name,omitempty"` Message []byte `protobuf:"bytes,3,opt,name=Message,proto3" json:"Message,omitempty"` UUID string `protobuf:"bytes,4,opt,name=UUID,proto3" json:"UUID,omitempty"` MythicEncrypts bool `protobuf:"varint,5,opt,name=MythicEncrypts,proto3" json:"MythicEncrypts,omitempty"` CryptoKeys []*CryptoKeysFormat `protobuf:"bytes,6,rep,name=CryptoKeys,proto3" json:"CryptoKeys,omitempty"` // contains filtered or unexported fields }
func (*TrMythicC2ToCustomMessageFormatMessage) Descriptor
deprecated
func (*TrMythicC2ToCustomMessageFormatMessage) Descriptor() ([]byte, []int)
Deprecated: Use TrMythicC2ToCustomMessageFormatMessage.ProtoReflect.Descriptor instead.
func (*TrMythicC2ToCustomMessageFormatMessage) GetC2Name ¶
func (x *TrMythicC2ToCustomMessageFormatMessage) GetC2Name() string
func (*TrMythicC2ToCustomMessageFormatMessage) GetCryptoKeys ¶
func (x *TrMythicC2ToCustomMessageFormatMessage) GetCryptoKeys() []*CryptoKeysFormat
func (*TrMythicC2ToCustomMessageFormatMessage) GetMessage ¶
func (x *TrMythicC2ToCustomMessageFormatMessage) GetMessage() []byte
func (*TrMythicC2ToCustomMessageFormatMessage) GetMythicEncrypts ¶
func (x *TrMythicC2ToCustomMessageFormatMessage) GetMythicEncrypts() bool
func (*TrMythicC2ToCustomMessageFormatMessage) GetTranslationContainerName ¶
func (x *TrMythicC2ToCustomMessageFormatMessage) GetTranslationContainerName() string
func (*TrMythicC2ToCustomMessageFormatMessage) GetUUID ¶
func (x *TrMythicC2ToCustomMessageFormatMessage) GetUUID() string
func (*TrMythicC2ToCustomMessageFormatMessage) ProtoMessage ¶
func (*TrMythicC2ToCustomMessageFormatMessage) ProtoMessage()
func (*TrMythicC2ToCustomMessageFormatMessage) ProtoReflect ¶
func (x *TrMythicC2ToCustomMessageFormatMessage) ProtoReflect() protoreflect.Message
func (*TrMythicC2ToCustomMessageFormatMessage) Reset ¶
func (x *TrMythicC2ToCustomMessageFormatMessage) Reset()
func (*TrMythicC2ToCustomMessageFormatMessage) String ¶
func (x *TrMythicC2ToCustomMessageFormatMessage) String() string
type TrMythicC2ToCustomMessageFormatMessageResponse ¶
type TrMythicC2ToCustomMessageFormatMessageResponse struct { Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"` Error string `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"` Message []byte `protobuf:"bytes,3,opt,name=Message,proto3" json:"Message,omitempty"` TranslationContainerName string `protobuf:"bytes,4,opt,name=TranslationContainerName,proto3" json:"TranslationContainerName,omitempty"` // contains filtered or unexported fields }
func (*TrMythicC2ToCustomMessageFormatMessageResponse) Descriptor
deprecated
func (*TrMythicC2ToCustomMessageFormatMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use TrMythicC2ToCustomMessageFormatMessageResponse.ProtoReflect.Descriptor instead.
func (*TrMythicC2ToCustomMessageFormatMessageResponse) GetError ¶
func (x *TrMythicC2ToCustomMessageFormatMessageResponse) GetError() string
func (*TrMythicC2ToCustomMessageFormatMessageResponse) GetMessage ¶
func (x *TrMythicC2ToCustomMessageFormatMessageResponse) GetMessage() []byte
func (*TrMythicC2ToCustomMessageFormatMessageResponse) GetSuccess ¶
func (x *TrMythicC2ToCustomMessageFormatMessageResponse) GetSuccess() bool
func (*TrMythicC2ToCustomMessageFormatMessageResponse) GetTranslationContainerName ¶
func (x *TrMythicC2ToCustomMessageFormatMessageResponse) GetTranslationContainerName() string
func (*TrMythicC2ToCustomMessageFormatMessageResponse) ProtoMessage ¶
func (*TrMythicC2ToCustomMessageFormatMessageResponse) ProtoMessage()
func (*TrMythicC2ToCustomMessageFormatMessageResponse) ProtoReflect ¶
func (x *TrMythicC2ToCustomMessageFormatMessageResponse) ProtoReflect() protoreflect.Message
func (*TrMythicC2ToCustomMessageFormatMessageResponse) Reset ¶
func (x *TrMythicC2ToCustomMessageFormatMessageResponse) Reset()
func (*TrMythicC2ToCustomMessageFormatMessageResponse) String ¶
func (x *TrMythicC2ToCustomMessageFormatMessageResponse) String() string
type TranslationContainerClient ¶
type TranslationContainerClient interface { // rpc function(messageFromClient) messageToClient // all of these functions start off by sending messageToClient and getting the result back TranslateFromCustomToMythicFormat(ctx context.Context, opts ...grpc.CallOption) (TranslationContainer_TranslateFromCustomToMythicFormatClient, error) TranslateFromMythicToCustomFormat(ctx context.Context, opts ...grpc.CallOption) (TranslationContainer_TranslateFromMythicToCustomFormatClient, error) GenerateEncryptionKeys(ctx context.Context, opts ...grpc.CallOption) (TranslationContainer_GenerateEncryptionKeysClient, error) }
TranslationContainerClient is the client API for TranslationContainer 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 NewTranslationContainerClient ¶
func NewTranslationContainerClient(cc grpc.ClientConnInterface) TranslationContainerClient
type TranslationContainerServer ¶
type TranslationContainerServer interface { // rpc function(messageFromClient) messageToClient // all of these functions start off by sending messageToClient and getting the result back TranslateFromCustomToMythicFormat(TranslationContainer_TranslateFromCustomToMythicFormatServer) error TranslateFromMythicToCustomFormat(TranslationContainer_TranslateFromMythicToCustomFormatServer) error GenerateEncryptionKeys(TranslationContainer_GenerateEncryptionKeysServer) error // contains filtered or unexported methods }
TranslationContainerServer is the server API for TranslationContainer service. All implementations must embed UnimplementedTranslationContainerServer for forward compatibility
type TranslationContainer_GenerateEncryptionKeysClient ¶
type TranslationContainer_GenerateEncryptionKeysClient interface { Send(*TrGenerateEncryptionKeysMessageResponse) error Recv() (*TrGenerateEncryptionKeysMessage, error) grpc.ClientStream }
type TranslationContainer_GenerateEncryptionKeysServer ¶
type TranslationContainer_GenerateEncryptionKeysServer interface { Send(*TrGenerateEncryptionKeysMessage) error Recv() (*TrGenerateEncryptionKeysMessageResponse, error) grpc.ServerStream }
type TranslationContainer_TranslateFromCustomToMythicFormatClient ¶
type TranslationContainer_TranslateFromCustomToMythicFormatClient interface { Send(*TrCustomMessageToMythicC2FormatMessageResponse) error Recv() (*TrCustomMessageToMythicC2FormatMessage, error) grpc.ClientStream }
type TranslationContainer_TranslateFromCustomToMythicFormatServer ¶
type TranslationContainer_TranslateFromCustomToMythicFormatServer interface { Send(*TrCustomMessageToMythicC2FormatMessage) error Recv() (*TrCustomMessageToMythicC2FormatMessageResponse, error) grpc.ServerStream }
type TranslationContainer_TranslateFromMythicToCustomFormatClient ¶
type TranslationContainer_TranslateFromMythicToCustomFormatClient interface { Send(*TrMythicC2ToCustomMessageFormatMessageResponse) error Recv() (*TrMythicC2ToCustomMessageFormatMessage, error) grpc.ClientStream }
type TranslationContainer_TranslateFromMythicToCustomFormatServer ¶
type TranslationContainer_TranslateFromMythicToCustomFormatServer interface { Send(*TrMythicC2ToCustomMessageFormatMessage) error Recv() (*TrMythicC2ToCustomMessageFormatMessageResponse, error) grpc.ServerStream }
type UnimplementedPushC2Server ¶ added in v1.1.0
type UnimplementedPushC2Server struct { }
UnimplementedPushC2Server must be embedded to have forward compatible implementations.
func (UnimplementedPushC2Server) StartPushC2Streaming ¶ added in v1.1.0
func (UnimplementedPushC2Server) StartPushC2Streaming(PushC2_StartPushC2StreamingServer) error
func (UnimplementedPushC2Server) StartPushC2StreamingOneToMany ¶ added in v1.3.12
func (UnimplementedPushC2Server) StartPushC2StreamingOneToMany(PushC2_StartPushC2StreamingOneToManyServer) error
type UnimplementedTranslationContainerServer ¶
type UnimplementedTranslationContainerServer struct { }
UnimplementedTranslationContainerServer must be embedded to have forward compatible implementations.
func (UnimplementedTranslationContainerServer) GenerateEncryptionKeys ¶
func (UnimplementedTranslationContainerServer) GenerateEncryptionKeys(TranslationContainer_GenerateEncryptionKeysServer) error
func (UnimplementedTranslationContainerServer) TranslateFromCustomToMythicFormat ¶
func (UnimplementedTranslationContainerServer) TranslateFromCustomToMythicFormat(TranslationContainer_TranslateFromCustomToMythicFormatServer) error
func (UnimplementedTranslationContainerServer) TranslateFromMythicToCustomFormat ¶
func (UnimplementedTranslationContainerServer) TranslateFromMythicToCustomFormat(TranslationContainer_TranslateFromMythicToCustomFormatServer) error
type UnsafePushC2Server ¶ added in v1.1.0
type UnsafePushC2Server interface {
// contains filtered or unexported methods
}
UnsafePushC2Server may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PushC2Server will result in compilation errors.
type UnsafeTranslationContainerServer ¶
type UnsafeTranslationContainerServer interface {
// contains filtered or unexported methods
}
UnsafeTranslationContainerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TranslationContainerServer will result in compilation errors.