Dreadnode CLI
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
Dreadnode command line interface
Installation
From PyPi:
pip install dreadnode-cli
With Poetry:
This project is packaged for and meant to be used with the Poetry package management tool.
To install the project dependencies:
poetry install
And then enter its shell:
poetry shell
With Docker:
Alternatively, you can build a docker image and run the CLI from a container:
docker build -t dreadnode .
Whenever using the CLI from a docker container, remember to share your user configuration, the network from the host and mount the docker socket:
docker run -it \
--net=host \
-v/var/run/docker.sock:/var/run/docker.sock \
-v$HOME/.dreadnode:/root/.dreadnode \
dreadnode --help
Optionally, you can create a bash alias like so:
alias dreadnode='docker run -it --net=host -v/var/run/docker.sock:/var/run/docker.sock -v$HOME/.dreadnode:/root/.dreadnode dreadnode'
Usage
[!NOTE] For a full list of commands and options, see the CLI.md file.
Help menu:
dreadnode --help
Show version:
dreadnode version
Authenticate:
dreadnode login
Authenticate to a specific server:
dreadnode login --server https://dev-crucible.dreadnode.io
Manage server profiles with:
# list all profiles
dreadnode profile list
# switch to a named profile
dreadnode profile switch <profile_name>
# remove a profile
dreadnode profile forget <profile_name>
Interact with the Crucible challenges:
# list all challenges
dreadnode challenge list
# download an artifact
dreadnode challenge artifact <challenge_id> <artifact_name> -o <output_path>
# submit a flag
dreadnode challenge submit-flag <challenge_id> 'gAAAAA...'
Interact with Strike agents:
# list all strikes
dreadnode agent strikes
# list all available templates with their descriptions
dreadnode agent templates
# initialize a new agent in the current directory
dreadnode agent init -t <template_name> <strike_id>
# initialize a new agent in the specified directory
dreadnode agent init -t <template_name> <strike_id> --dir <directory>
# initialize a new agent using a custom template from a github repository
dreadnode agent init -s username/repository <strike_id>
# initialize a new agent using a custom template from a github branch/tag
dreadnode agent init -s username/repository@custom-feature <strike_id>
# initialize a new agent using a custom template from a ZIP archive URL
dreadnode agent init -s https://example.com/template-archive.zip <strike_id>
# push a new version of the agent
dreadnode agent push
# start a new run using the latest agent version.
dreadnode agent deploy
# show the latest run of the currently active agent
dreadnode agent latest
# list all available links
dreadnode agent links
# list available models for the current strike
dreadnode agent models
# list all runs for the currently active agent
dreadnode agent runs
# show the status of the currently active agent
dreadnode agent show
# list historical versions of this agent
dreadnode agent versions
# switch/link to a different agent
dreadnode agent switch <agent_id>
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dreadnode_cli-0.0.1.tar.gz.
File metadata
- Download URL: dreadnode_cli-0.0.1.tar.gz
- Upload date:
- Size: 34.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f605ec77768339a1150db3093941604bd7842890307cac8c596669efa2c1624
|
|
| MD5 |
8b238c3b6d8027573a56a3110852a53f
|
|
| BLAKE2b-256 |
150710fbf0a2f74ccf4070909f5e4f622e0bbf01836e66d3389885ae32ab29e5
|
Provenance
The following attestation bundles were made for dreadnode_cli-0.0.1.tar.gz:
Publisher:
publish.yml on dreadnode/cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dreadnode_cli-0.0.1.tar.gz -
Subject digest:
7f605ec77768339a1150db3093941604bd7842890307cac8c596669efa2c1624 - Sigstore transparency entry: 152922453
- Sigstore integration time:
-
Permalink:
dreadnode/cli@7cd2c05e584318d7119553abc3707fa6db6660d8 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/dreadnode
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7cd2c05e584318d7119553abc3707fa6db6660d8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dreadnode_cli-0.0.1-py3-none-any.whl.
File metadata
- Download URL: dreadnode_cli-0.0.1-py3-none-any.whl
- Upload date:
- Size: 45.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5722ef23907d399c4ed47a839b962d333d9b9b19e501b117e79f7661de09d45e
|
|
| MD5 |
0828a6bb0c1fcc34127cd8be2c93fd38
|
|
| BLAKE2b-256 |
4c45131099929f6285615552eccffb391732192ffba906e1175cc671b1c13e67
|
Provenance
The following attestation bundles were made for dreadnode_cli-0.0.1-py3-none-any.whl:
Publisher:
publish.yml on dreadnode/cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dreadnode_cli-0.0.1-py3-none-any.whl -
Subject digest:
5722ef23907d399c4ed47a839b962d333d9b9b19e501b117e79f7661de09d45e - Sigstore transparency entry: 152922454
- Sigstore integration time:
-
Permalink:
dreadnode/cli@7cd2c05e584318d7119553abc3707fa6db6660d8 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/dreadnode
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7cd2c05e584318d7119553abc3707fa6db6660d8 -
Trigger Event:
push
-
Statement type: