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.0rc6.tar.gz (29.0 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.0rc6-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mythic-0.3.0rc6.tar.gz
  • Upload date:
  • Size: 29.0 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.0rc6.tar.gz
Algorithm Hash digest
SHA256 22d0c808b60fd1990717016d66ffd97c91d9059b0ad1c9fa9d6683b8a99d23e6
MD5 d0dce14686f123eb71dc1079cc266a98
BLAKE2b-256 b3b97024a4c16bab053aef8451b9d4d9f0a2dc1bff29faa12013e81569f6dab5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mythic-0.3.0rc6-py3-none-any.whl
  • Upload date:
  • Size: 27.4 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.0rc6-py3-none-any.whl
Algorithm Hash digest
SHA256 19e1bc868fa62c675950771d94c0c781813b3a5d4ef94a0557e1eab0d8ea70ab
MD5 e7d489e8ef220922683b8da0351a0c7d
BLAKE2b-256 87fe911bbe4158c00d93536e474705f532143ab7db2d58f6de1a720f3cd002fb

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0rc6 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