Documentation
¶
Index ¶
- Constants
- Variables
- type C2ConfigCheckMessage
- type C2ConfigCheckMessageResponse
- type C2GetDebugOutputMessage
- type C2GetDebugOutputMessageResponse
- type C2GetRedirectorRuleMessage
- type C2GetRedirectorRuleMessageResponse
- type C2GetUiFunctionsMessage
- type C2GetUiFunctionsMessageResponse
- type C2OPSECMessage
- type C2OPSECMessageResponse
- type C2Parameter
- type C2ParameterDictionary
- type C2ParameterType
- type C2Profile
- type C2RPCGetFileMessage
- type C2RPCGetFileMessageResponse
- type C2RPCListFileMessage
- type C2RPCListFileMessageResponse
- type C2RPCOtherServiceRPCMessage
- type C2RPCOtherServiceRPCMessageResponse
- type C2RPCReSyncMessage
- type C2RPCReSyncMessageResponse
- type C2RPCRemoveFileMessage
- type C2RPCRemoveFileMessageResponse
- type C2RPCStartServerMessage
- type C2RPCStartServerMessageResponse
- type C2RPCStopServerMessage
- type C2RPCStopServerMessageResponse
- type C2RPCWriteFileMessage
- type C2RPCWriteFileMessageResponse
- type C2SyncMessage
- type C2SyncMessageResponse
- type C2_GET_REDIRECTOR_RULE_STATUS
- type C2_GET_UI_FUNCTIONS_STATUS
- type RabbitmqDirectMethod
- type RabbitmqRPCMethod
- type SimplifiedC2ParameterDictionary
Constants ¶
View Source
const ( C2_PARAMETER_TYPE_STRING C2ParameterType = "String" C2_PARAMETER_TYPE_BOOLEAN = "Boolean" C2_PARAMETER_TYPE_CHOOSE_ONE = "ChooseOne" C2_PARAMETER_TYPE_CHOOSE_MULTIPLE = "ChooseMultiple" C2_PARAMETER_TYPE_ARRAY = "Array" C2_PARAMETER_TYPE_DATE = "Date" C2_PARAMETER_TYPE_DICTIONARY = "Dictionary" C2_PARAMETER_TYPE_NUMBER = "Number" )
Variables ¶
View Source
var (
AllC2Data containerC2Data
)
Functions ¶
This section is empty.
Types ¶
type C2ConfigCheckMessage ¶
type C2GetDebugOutputMessage ¶
type C2GetDebugOutputMessage struct {
Name string `json:"c2_profile_name"`
}
type C2GetUiFunctionsMessage ¶
type C2GetUiFunctionsMessage struct {
Name string `json:"c2_profile_name"`
}
type C2OPSECMessage ¶
type C2OPSECMessageResponse ¶
type C2Parameter ¶
type C2Parameter struct { Description string `json:"description"` Name string `json:"name"` DefaultValue interface{} `json:"default_value"` Randomize bool `json:"randomize"` FormatString string `json:"format_string"` ParameterType C2ParameterType `json:"parameter_type"` Required bool `json:"required"` VerifierRegex string `json:"verifier_regex"` IsCryptoType bool `json:"crypto_type"` Choices []string `json:"choices"` DictionaryChoices []C2ParameterDictionary `json:"dictionary_choices"` }
type C2ParameterDictionary ¶
type C2Profile ¶
type C2Profile struct { Name string `json:"name"` Description string `json:"description"` Author string `json:"author"` IsP2p bool `json:"is_p2p"` IsServerRouted bool `json:"is_server_routed"` ServerBinaryPath string `json:"-"` ServerFolderPath string `json:"-"` ConfigCheckFunction func(message C2ConfigCheckMessage) C2ConfigCheckMessageResponse `json:"-"` GetRedirectorRulesFunction func(message C2GetRedirectorRuleMessage) C2GetRedirectorRuleMessageResponse `json:"-"` OPSECCheckFunction func(message C2OPSECMessage) C2OPSECMessageResponse `json:"-"` CustomRPCFunctions map[string]func(message C2RPCOtherServiceRPCMessage) C2RPCOtherServiceRPCMessageResponse `json:"-"` }
type C2RPCGetFileMessage ¶
type C2RPCListFileMessage ¶
type C2RPCListFileMessage struct {
Name string `json:"c2_profile_name"`
}
type C2RPCReSyncMessage ¶
type C2RPCReSyncMessage struct {
Name string `json:"c2_profile_name"`
}
type C2RPCRemoveFileMessage ¶
type C2RPCStartServerMessage ¶
type C2RPCStartServerMessage struct {
Name string `json:"c2_profile_name"`
}
type C2RPCStopServerMessage ¶
type C2RPCStopServerMessage struct {
Name string `json:"c2_profile_name"`
}
type C2RPCWriteFileMessage ¶
type C2SyncMessage ¶
type C2SyncMessage struct { Profile C2Profile `json:"c2_profile"` Parameters []C2Parameter `json:"parameters"` ContainerVersion string `json:"container_version"` }
type C2SyncMessageResponse ¶
type C2_GET_REDIRECTOR_RULE_STATUS ¶
type C2_GET_REDIRECTOR_RULE_STATUS = string
type C2_GET_UI_FUNCTIONS_STATUS ¶
type C2_GET_UI_FUNCTIONS_STATUS = string
type RabbitmqDirectMethod ¶
type RabbitmqRPCMethod ¶
Source Files
¶
- c2_sync.go
- structs_config_check.go
- structs_get_debug_output.go
- structs_get_file.go
- structs_get_redirector_rules.go
- structs_get_ui_functions.go
- structs_list_file.go
- structs_opsec_check.go
- structs_remove_file.go
- structs_resync.go
- structs_start_server.go
- structs_stop_server.go
- structs_write_file.go
- utils.go
Click to show internal directories.
Click to hide internal directories.