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 *.

Download files

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

Source Distribution

mythic-0.3.0rc5.tar.gz (28.9 kB view details)

Uploaded Source

Built Distribution

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

mythic-0.3.0rc5-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

Details for the file mythic-0.3.0rc5.tar.gz.

File metadata

  • Download URL: mythic-0.3.0rc5.tar.gz
  • Upload date:
  • Size: 28.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for mythic-0.3.0rc5.tar.gz
Algorithm Hash digest
SHA256 31f1f526211e4daef5bf14ea5abc5cd1e2c1ac94c7dd12c989933ebd53b503bb
MD5 602af72971d4c0de1abc9838fc10087f
BLAKE2b-256 04ce4219a421d59a4eac0157ab7ef1d7d7f8f6aabfccaba5fca69e44216f84c5

See more details on using hashes here.

File details

Details for the file mythic-0.3.0rc5-py3-none-any.whl.

File metadata

  • Download URL: mythic-0.3.0rc5-py3-none-any.whl
  • Upload date:
  • Size: 27.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for mythic-0.3.0rc5-py3-none-any.whl
Algorithm Hash digest
SHA256 bbeb0ab0f49ca5cd959e9db701e8ec1431f2fc912a03cc8aab09a0b22f276714
MD5 406d62374f32be5bce006a11aa5dbf2d
BLAKE2b-256 a4290b813800c580c1daa244ba53e9e2ab9028340a73dd14dca1e1a4a6ef8d8c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0rc5 This release

2 files

0.2.10

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.38

2 files

0.0.37

2 files

0.0.36

2 files

0.0.34

2 files

0.0.33

2 files

0.0.32

2 files

0.0.31

2 files

0.0.30

2 files

0.0.29

2 files

0.0.28

2 files

0.0.27

2 files

0.0.26

2 files

0.0.25

2 files

0.0.24

2 files

0.0.23

2 files

0.0.22

2 files

0.0.21

2 files

0.0.20

2 files

0.0.19

2 files

0.0.18

2 files

0.0.17

2 files

0.0.16

2 files

0.0.15

2 files

0.0.14

2 files

0.0.13

2 files

0.0.12

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

Supported by

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