For interacting with the Chaos API
Project description
Praetorian CLI
The CLI is a fully-featured companion to the Chaos UI, which is hosted at research.praetorian.com.
Install
Python 3.8+ and PIP are required.
pip install praetorian-cli
Usage
To use the CLI:
- Register for an account at chaos.praetorian.com.
- Log in and download your keychain file to
~/.praetorian/keychain.ini
.
View help for all available commands:
praetorian chaos --help
The CLI is configured as a simple command + option utility. For example, to retrieve all assets in your account simply run:
praetorian chaos assets
Developers
Integrate the CLI into your own application:
- Include the dependency
praetorian-cli
in your project - Import the Chaos class
from praetorian_cli.sdk.chaos import Chaos
- Import the Keychain class
from praetorian_cli.sdk.keychain import Keychain
- Call any function (example below)
Example
from praetorian_cli.sdk.chaos import Chaos
from praetorian_cli.sdk.keychain import Keychain
chaos = Chaos(Keychain(profile='United States'))
chaos.add_seed('example.com')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
praetorian-cli-0.7.2.tar.gz
(8.8 kB
view hashes)
Built Distribution
Close
Hashes for praetorian_cli-0.7.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 639eb25768a87cd781682ca03aaacfe136661cded8713471a51539e9eef51f97 |
|
MD5 | 3c1fe21218e5d0d27d9c1a1bea79a684 |
|
BLAKE2b-256 | c8133ee26373742938dc05f6c783944348bced9fd00a20533d16a60982788948 |