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.0rc9

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.0rc9
File Size Uploaded
mythic-0.3.0rc9.tar.gz 30.6 kB Details

Built distribution (wheel)

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

Total release size: 59.1 kB

Release files / mythic-0.3.0rc9.tar.gz

Download URL mythic-0.3.0rc9.tar.gz
Size 30.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b5bbfac301c1c42db35abf5ea731c5808aa9b0d9265f3d16e0f0c0bb25d56de0
BLAKE2b-256 checksum
How to use checksums
0af92eab9fd3b9819c5517454a6639e46289559e2a534488ebd709298b7f9ba3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

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

Download URL mythic-0.3.0rc9-py3-none-any.whl
Size 28.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0b832eae1ab2fe0a0250037f0fa08157f9f992e84bc23bed1152e76fe21eabf
BLAKE2b-256 checksum
How to use checksums
65e54db8bb89ec3d23d4d89fc374880ce352bfe1548146b5299c59157272e10c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.3.0rc9 This release

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.34

2 release files

0.0.32

2 release files

0.0.31

2 release files

0.0.30

2 release files

0.0.29

2 release files

0.0.28

2 release files

0.0.26

2 release files

0.0.25

2 release files

0.0.24

2 release files

0.0.23

2 release files

0.0.20

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.13

2 release files

0.0.10

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

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