| Crates.io | cantirust |
| lib.rs | cantirust |
| version | 1.0.1 |
| created_at | 2025-09-26 12:45:32.431962+00 |
| updated_at | 2025-09-26 12:52:46.477701+00 |
| description | CantiRust - A powerful tool for calculating and distributing rewards in Cantina bug bounty contests |
| homepage | |
| repository | https://github.com/R1sco/Cantirust |
| max_upload_size | |
| id | 1855834 |
| size | 189,639 |
A powerful Rust-based tool for calculating and distributing rewards in Cantina bug bounty contests. Features an intuitive terminal interface with dynamic project search and automatic prize pool detection.
curl -sSL https://raw.githubusercontent.com/R1sco/Cantirust/main/install.sh | bash
cargo install cantirust
Download pre-compiled binaries from Releases
cantirust/
├── Cargo.toml # Dependencies and metadata
├── README.md # Documentation
├── .env.example # Environment setup
└── src/
├── main.rs # Application entry point
├── lib.rs # Module exports
├── config/ # Configuration management
├── constants/ # Application constants
├── core/ # Business logic
│ ├── api.rs # Cantina API client
│ ├── helpers.rs # Utility functions
│ └── calculator/ # Payout calculations
├── models/ # Data structures
├── ui/ # User interface
│ ├── cli.rs # Command line arguments
│ └── tui/ # Terminal user interface
└── utils/ # Helper utilities
Copy environment template:
cp .env.example .env
Edit .env with your authentication token:
CANTINA_AUTH_TOKEN=your_token_here
# Run the application
cantirust
# Optional: Ignore specific findings
cantirust -i 123,456
# Optional: Override severity for findings
cantirust -s "123:high,456:medium"
cantirust to start the applicationThe application supports the following environment variables:
CANTINA_AUTH_TOKEN - Required: Your Cantina authentication tokenCANTINA_API_LIMIT - Optional: API result limit (default: 200)CANTINA_API_WITH_EVENTS - Optional: Include events in API responses (default: false)cargo build --release
cargo test
Your Cantina auth_token grants account access. Store it securely (e.g. pass via environment variable and load it inside Config.COOKIE). Never commit real tokens to a public repo.
Inspired by ZeroCipher002's foundational Python implementation. Pull requests welcome!
MIT License - see LICENSE file for details.