MythicContainer

package module
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: BSD-3-Clause Imports: 3 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

MythicContainer

GoLang package for creating Mythic Payload Types, C2 Profiles, Translation Services, WebHook listeners, and Loggers

Install

go get http://github.com/MythicMeta/MythicContainer

Usage

Import the package, github.com/MythicMeta/MythicContainer and run the service via MythicContainer.StartAndRunForever. You can import as many Payload Types, C2 Profiles, Translation Services, WebHook listeners, and Loggers as you want as long as you call their Initialize() function and supply their corresponding service type when starting as shown below.

package main

import (
	httpfunctions "PoseidonContainer/http/c2functions"
	"PoseidonContainer/my_logger"
	"PoseidonContainer/my_webhooks"
	mytranslatorfunctions "PoseidonContainer/no_actual_translation/translationfunctions"
	poseidonfunctions "PoseidonContainer/poseidon/agentfunctions"
	poseidontcpfunctions "PoseidonContainer/poseidon_tcp/c2functions"
	servicewrapperfunctions "PoseidonContainer/service_wrapper/agentfunctions"
	"github.com/MythicMeta/MythicContainer"
)

func main() {
	// load up the agent functions directory so all the init() functions execute
	poseidonfunctions.Initialize()
	httpfunctions.Initialize()
	poseidontcpfunctions.Initialize()
	servicewrapperfunctions.Initialize()
	mytranslatorfunctions.Initialize()
	my_webhooks.Initialize()
	my_logger.Initialize()
	// sync over definitions and listen
	MythicContainer.StartAndRunForever([]MythicContainer.MythicServices{
		MythicContainer.MythicServicePayload,
		MythicContainer.MythicServiceC2,
		MythicContainer.MythicServiceTranslationContainer,
		MythicContainer.MythicServiceWebhook,
		MythicContainer.MythicServiceLogger,
	})
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartAndRunForever

func StartAndRunForever(services []MythicServices)

Types

type MythicServices

type MythicServices = string
const (
	MythicServicePayload              MythicServices = "payload"
	MythicServiceLogger               MythicServices = "logger"
	MythicServiceWebhook              MythicServices = "webhook"
	MythicServiceC2                   MythicServices = "c2"
	MythicServiceTranslationContainer MythicServices = "translation"
	MythicServiceEventing             MythicServices = "eventing"
	MythicServiceAuth                 MythicServices = "auth"
	MythicServiceCustomBrowser        MythicServices = "custombrowser"
)

Jump to

Keyboard shortcuts

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