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 Account class
from praetorian_cli.sdk.account import Account
- Call any function (example below)
Example
from praetorian_cli.sdk.chaos import Chaos
from praetorian_cli.sdk.account import Account
chaos = Chaos(Account(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.5.0.tar.gz
(7.8 kB
view hashes)
Built Distribution
Close
Hashes for praetorian_cli-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f24f22624358fbcbaa2446b4d81affb034697613206eaf149068f7da9315db6 |
|
MD5 | 1134e03d02a9d003a11e26969bd4e436 |
|
BLAKE2b-256 | dd96993c40f3a4814ac1029d3ac4a732cbc9b8d8d5a3adddfb2a2047751bba3a |