Category: Other Summary: This article covers the Schild CLI-how to install it, and what it's for.
The Schild CLI is a tool for users completing cyber assignments. Using the CLI can be significantly faster than using a browser and includes everything available in a browser.
The first step is generating an API token. API tokens can be generated on the main site. To generate a token:
.txt
file somewhere convenient.It's impossible getting the raw token again after leaving the page. We recommend cycling the tokens every 60 days or less.
API tokens can be viewed and deleted in administration by navigating to a user's page:
The Schild CLI package is hosted at a private address. To install:
[$/%/>/...] pip install --index-url \ "https://__token__:<RAW_TOKEN>@<yoursubdomain>.schilds.tech/api/v1/private-pkgs/simple/" schild-cli
. Substitute your raw token for <RAW_TOKEN>
and substitute your organization's subdomain for <yoursubdomain>
.You're all set! Run [$/%/>/...] schild --help
to view the commands available. Users can view their last used token times in Users → Settings.
You can logout anytime by running
[$/%/>/...] schild logout
.
To uninstall, first remove the token from your keyring:
[$/%/>/...] python -m keyring delete schild-cli <subdomain>
, where <subdomain>
is your organization's schild subdomain.Then uninstall:
[$/%/>/...] pip uninstall schild-cli
.You're all set.