Skip to content

dojo-cli is a Python library to interact with the pwn.college API and website.

License

Notifications You must be signed in to change notification settings

hidehiroanto/dojo-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dojo CLI

dojo-cli is a Python command line interface and package to interact with the pwn.college API and website.

Images

dojo-cli

Quickstart

The easiest way to get started is with uv.

If you don't have uv yet, follow the installation instructions here.

Then run this command to install and launch the CLI:

uvx --from git+https://github.com/hidehiroanto/dojo-cli dojo

If you don't want to type that out every time, install it long term with this command:

uv tool install --from git+https://github.com/hidehiroanto/dojo-cli dojo-cli

Then just run dojo to start the CLI.

If you want to add the Python package to your project environment, run this:

uv add git+https://github.com/hidehiroanto/dojo-cli

If you want to add the Python package globally, run this:

uv pip install --break-system-packages --strict --system git+https://github.com/hidehiroanto/dojo-cli

Current Features

  • Rich text formatting
  • Logging into the API
  • Generating an SSH keypair and adding the public key to your account
  • Fetching user details
  • Getting rankings in dojos and modules (now with images!)
  • Getting information about belted users
  • Listing the names and descriptions of dojos, modules, and challenges
  • Starting, restarting, and stopping a challenge
  • Checking the status of a challenge
  • Connecting to a challenge with SSH
  • Running a remote command on a challenge
  • Finding the largest files in your home directory
  • Downloading files from and uploading files to the remote server
  • Using the Zed code editor to edit files on the remote server
  • Getting a hint about the flag
  • Submitting flags
  • Talking with SensAI
  • Custom configuration in either JSON or YAML format
  • A TUI to help you navigate all this
  • And more!

Contributing

If you find a bug or want to add a feature, feel free to open an issue or a pull request.

Thanks

Thank you especially to the following people:

About

dojo-cli is a Python library to interact with the pwn.college API and website.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%