Skip to main content
Pre-release

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

Mythic Scripting Interface

The mythic package creates a way to programmatically interact and control a Mythic instance. Mythic is a Command and Control (C2) framework for Red Teaming. The code is on GitHub (https://github.com/its-a-feature/Mythic) and the Mythic project's documentation is on GitBooks (https://docs.mythic-c2.net).

Installation

You can install the mythic scripting interface from PyPI:

pip install mythic

How to use

Version 0.0.13 of the mythic package supports version 2.1.* of the Mythic project.

Version 0.0.15 of the mythic package supports version 2.2.1 of the Mythic project.

Version 0.0.20 of the mythic package supports version 2.2.6 of the Mythic project (reports as version "3").

Version 0.0.21-25 of the mythic package supports version 2.2.8+ of the Mythic project (reports as version "3").

Version 0.0.26 of the mythic package supports version 2.3+ of the Mythic project (reports as version "3").

Version 0.0.29-0.0.36 of the mythic package supports version 2.3+ of the Mythic project utilizing the new GraphQL endpoints and reports as version "3". This will be the last version that supports the old mythic_rest interface. Starting with version 0.1.0, the mythic PyPi package will only support the new GraphQL interface and will report as version "4".

Version 0.1.0 of the mythic package supports version 3.0 of the Mythic project utilizing the new GraphQL endpoints.

Version 0.1.8 of the mythic package is the last version for Mythic v3.2.

Version 0.2.0 of the mythic package supports Mythic 3.3.

Version 0.2.1 of the mythic package supports Mythic 3.3 and adds operationName tracking to graphql queries.

Version 0.3.0-rc5 of the mythic package tracks the current Mythic 3.4.x Hasura action API, including the whoami action, updatePasswordAndEmail, and the unversioned task upload route.

Information

The Jupyter Notebook container within Mythic provides many examples on how to use the package. The mythic package leverages async HTTP requests and WebSocket connections, so it's important to make sure your codebase is running asynchronously.

When using scoped API tokens, the token must include the scopes required by the Mythic route or Hasura operation being called. For example, register_file uploads to /task_upload_file_webhook, which requires file.write; tokens created with login(create_apitoken=True) request *.

Metadata

Release files for mythic 0.3.0rc10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mythic 0.3.0rc10
File Size Uploaded Provenance Actions
mythic-0.3.0rc10.tar.gz 31.7 kB Without provenance Details for mythic-0.3.0rc10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mythic 0.3.0rc10
File Interpreter ABI Platform Actions
mythic-0.3.0rc10-py3-none-any.whl Python 3 none any Details for mythic-0.3.0rc10-py3-none-any.whl

Total release size: 60.8 kB

Release files / mythic-0.3.0rc10.tar.gz

Download URL mythic-0.3.0rc10.tar.gz
Size 31.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6845f6077c2de73aa27a3fbe38dc99b769eb9189b00a69d038bdd3fcafdfe580
BLAKE2b-256 checksum
How to use checksums
8859d82be6b93629cad56ef510f056addcb8d9051009d04e359a7f761f985a2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mythic-0.3.0rc10-py3-none-any.whl

Download URL mythic-0.3.0rc10-py3-none-any.whl
Size 29.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe08c351115157d2fa356efcd9c3516089c0e08533cfe2b7d9a3c7dcd675a67b
BLAKE2b-256 checksum
How to use checksums
a929ff19f0adf4e186f0361b700385220919cd9d467ef33ff89848147964f05f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for mythic 0.3.0rc10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page