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.0rc8.tar.gz (30.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-0.3.0rc8-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mythic-0.3.0rc8.tar.gz
  • Upload date:
  • Size: 30.1 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.0rc8.tar.gz
Algorithm Hash digest
SHA256 7060588bff07ac1b1be331791249183954c34adcc17045d68d46f65ba947b8e3
MD5 3d69580a8fbaf050558079b43fe9a133
BLAKE2b-256 c016590b7e756921870fec51fd2e800f72af635ebf17cc88236d86ba51379e53

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mythic-0.3.0rc8-py3-none-any.whl
  • Upload date:
  • Size: 28.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.0rc8-py3-none-any.whl
Algorithm Hash digest
SHA256 db690ceacc73f980b579711a18ded7f1786096789fa8f9b29864f1b399605175
MD5 ceefa8b181dddcc10de164696bf15d57
BLAKE2b-256 d9607e333d94a01cd74fdef6ff3628f393f9e442f251d6eabdb65654db8db5f7

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

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