Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Mythic Payload Type Container

The mythic_container library provides the steps for defining and utilizing payload types, c2 profiles, translation containers, webhook containers, and logging containers for Mythic. Mythic is a Command and Control (C2) framework for Red Teaming with the code on GitHub (https://github.com/its-a-feature/Mythic) and the Mythic project's documentation on GitBooks (https://docs.mythic-c2.net).

Installation

You can install the mythic scripting interface from PyPI:

pip install mythic-container

How to use

Use it with Mythic version 3.3.0.

For the main execution of the heartbeat and service functionality, simply import and start the service:

import mythic_container
import [my agent | my c2 profile | my translation container | my webhooks | my loggers | my eventing | my auth]
mythic_container.mythic_service.start_and_run_forever()

Chat containers

AI chat containers subclass mythic_container.ChatBase.Chat. The base class provides Mythic request/response types, response helpers, typed config/secret readers, chat-channel API token delegation, and reusable MCP tool primitives. Provider connection semantics stay in each chat container.

See CHAT_CONTAINERS.md for subclassing, typed settings, response helper, MCP connection, confirmation-flow, sub-agent delegation, and lazy tool-output examples.

Where is the code?

The code for this PyPi package can be found at https://github.com/MythicMeta/MythicContainerPyPi

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mythic_container-0.7.0rc3.tar.gz (129.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mythic_container-0.7.0rc3-py3-none-any.whl (178.3 kB view details)

Uploaded Python 3

File details

Details for the file mythic_container-0.7.0rc3.tar.gz.

File metadata

  • Download URL: mythic_container-0.7.0rc3.tar.gz
  • Upload date:
  • Size: 129.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for mythic_container-0.7.0rc3.tar.gz
Algorithm Hash digest
SHA256 5009288f48d8fb76ccbbf9ccc4ffc74ee6ac5dc62559c665fbec074a120808c9
MD5 1bcf7bbcb43d7b47426348bdbed6091c
BLAKE2b-256 55de3d90afe3d12191e5f8801956356fd59c0bb2ebc56d7888b577257b41b8da

See more details on using hashes here.

File details

Details for the file mythic_container-0.7.0rc3-py3-none-any.whl.

File metadata

File hashes

Hashes for mythic_container-0.7.0rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 b2b88f3bd47895c3f102191ddd3e6d28b3c029b7573d6b02568101842bab3531
MD5 e17928efccf58bd8a06f97ba6a1a1805
BLAKE2b-256 0eae2fc7b14d4bae83917447ec597ee4c71b9146e864ea586f59c4889a464d62

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page