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.8.1.tar.gz
(9.4 kB
view hashes)
Built Distribution
Close
Hashes for praetorian_cli-0.8.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b916bbb544521f0ec4722c0b65f6803435811d916cacfaacb57bdcd8d4ece3c1 |
|
MD5 | a1f64283334e6b481986a63493137476 |
|
BLAKE2b-256 | ee9087693314cf850a4d1efc2b6ab40c35b73fa582fd7990dc014c793128fbb8 |