-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0731a68
commit 64df898
Showing
2 changed files
with
69 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,69 @@ | ||
# cli | ||
Dreadnode command line interface. | ||
|
||
## Installation | ||
|
||
### With Poetry: | ||
|
||
```bash | ||
poetry install | ||
``` | ||
|
||
Then enter the poetry shell: | ||
|
||
```bash | ||
poetry shell | ||
``` | ||
|
||
### With Docker: | ||
|
||
```bash | ||
docker build -t dreadnode . | ||
``` | ||
|
||
and then run: | ||
|
||
```bash | ||
docker run -it dreadnode --help | ||
``` | ||
|
||
## Usage | ||
|
||
Help menu: | ||
|
||
```bash | ||
dreadnode --help | ||
``` | ||
|
||
Authenticate: | ||
|
||
```bash | ||
dreadnode login | ||
``` | ||
|
||
Manage server profiles with: | ||
|
||
```bash | ||
# 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: | ||
|
||
```bash | ||
# 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...' | ||
``` | ||
|
||
|
||
Dreadnode CLI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters