Cookbook

Task-oriented, runnable recipes for the Rank autonomous pentesting platform.

The recipes below are problem-first and runnable. Each one starts from a concrete goal, walks through the steps across the web platform, CLI, and Python SDK where relevant, and ends with a complete, self-contained script you can save locally and run.

Every recipe assumes you have an account and an API token. If you do not yet, start with the Quickstart and Authentication guides.

Recipes

How to run the examples

Each recipe is self-contained and ends with a complete script you can save and run. They all share the same setup:

pip install rank-sdk
export RANK_API_KEY=rk_...
python <script>.py

The client reads RANK_API_KEY from the environment, so you never have to hard-code a key. See the Python SDK overview for client options and the Streaming guide for a deeper look at the event protocol used throughout these recipes.