A tool for managing Bug Bounty SA programs in Saudi Arabia
Project description
Bug Bounty SA CLI Tool
A command-line interface tool for managing and analyzing Bug Bounty SA programs. This tool helps security researchers track programs, analyze scopes, and extract domains from the Bug Bounty SA platform.
Features
- ๐ Fetch and analyze Bug Bounty SA programs
- ๐ Display detailed program analysis including bounty ranges
- ๐ Extract and manage program domains
- ๐พ Save program data locally for offline access
- ๐ฏ Filter programs by name or status
- ๐ Multiple output formats (JSON/TXT)
Installation
Using pip
pip install bugbountysa
From Source
git clone https://github.com/ShulkwiSEC/bugbountysa.git
cd bugbountysa
pip install -e .
Usage
Basic Commands
# Show all programs with analysis
bugbountysa
# Extract domains only
bugbountysa --domains
# Save all data
bugbountysa --save
# Process specific program
bugbountysa --program "Program Name"
# Show only active programs
bugbountysa --active-only
# Export all domains to a file
bugbountysa --all-domains --output-file domains.txt
# JSON output
bugbountysa --format json
Command Line Options
| Option | Description |
|---|---|
--save |
Save data to output directory |
--output-dir DIR |
Specify output directory (default: output) |
--output-file FILE |
Save output to a file |
--format {json,txt} |
Output format |
--domains |
Show domains only |
--all-domains |
Export all domains in a single list |
--no-analysis |
Skip analysis output |
-v, --verbose |
Verbose output |
--quiet |
Suppress all non-error output |
--program NAME |
Process specific program by name |
--active-only |
Only process active programs |
Output Structure
When using --save, the tool creates the following directory structure:
output/
โโโ programs.json
โโโ program_name/
โโโ scopes/
โโโ scope_{id}.json
โโโ domains.txt
Example Output
Program Analysis
โโโโ[ Program: Example Program ]โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Status : ACTIVE
โ Type : PUBLIC
โ Platform : Web
โ Start Date : 2025-02-25
โ End Date : 2025-05-12 (26 days remaining)
โ Duration : 76 days
โ Policy Size : 2286 chars
โ Out of Scope : 1766 chars
โโโโ[ Bounty Ranges (SAR) ]
โโโโโโโโโโโโโโคโโโโโโโโโโโโโโคโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Severity โ Range โ Visual โ
โโโโโโโโโโโโโโชโโโโโโโโโโโโโโชโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโก
โ Critical โ 5238 โ 7000 โ 5238โ7000 SAR [โ โ โ โ โ โ โ โ โ โ โ โ โ โ ] โ
โ High โ 2729 โ 5082 โ 2729โ5082 SAR [โ โ โ โ โ โ โ โ โ โ ] โ
โ Medium โ 916 โ 2635 โ 916โ2635 SAR [โ โ โ โ โ ] โ
โ Low โ 500 โ 885 โ 500โ885 SAR [โ ] โ
โโโโโโโโโโโโโโงโโโโโโโโโโโโโโงโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Configuration
Environment Variables
Copy .env.example to .env and set your configuration:
cp .env.example .env
Required environment variables:
ACCOUNT_TOKEN: Your Bug Bounty SA API token
The tool uses the following configuration settings:
API_ENDPOINT: The Bug Bounty SA API endpointHEADERS: API authentication headersOUTPUT_DIR: Default output directory for saved data
Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
- ShulkwiSEC
- Twitter: @ShulkwiSEC
- GitHub: ShulkwiSEC
Acknowledgments
- Bug Bounty SA Platform for providing the API
- The bug bounty community in Saudi Arabia
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bugbountysa-1.0.0.tar.gz.
File metadata
- Download URL: bugbountysa-1.0.0.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08089a66203a3cf891e60a11ae4c95a6e8df50661995d2b78350b5fd76236303
|
|
| MD5 |
a04ab0b8679f08b243b4da7f9db5738c
|
|
| BLAKE2b-256 |
90009058931d5b277dbb1702e09e5dd66e967287ca3ffa2240f2d406338811c6
|
File details
Details for the file bugbountysa-1.0.0-py3-none-any.whl.
File metadata
- Download URL: bugbountysa-1.0.0-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc0ffa86b2040ee31aaa3f4007294b831b4d5be7099b44278669faf7ce0ad948
|
|
| MD5 |
d2d91e304182f486b6cfb499942c0345
|
|
| BLAKE2b-256 |
4af0817b590b6fbe9cf24c31439c82e843cae1085525d876c53faf699f008ac4
|