
Features • Installation • Usage • Configuration • Examples • Contributing
git clone https://github.com/OCEANOFANYTHING/SmartSubAI.git
cd SmartSubAI
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
Configure your Cohere API key:
config/settings.ini or set the SMARTSUBAI_COHERE_KEY environment variableBasic usage:
python smartsubai.py -d example.com
Advanced options:
python smartsubai.py -d example.com -w custom_wordlist.txt --threads 20 --limit 100
-d, --domain: Target domain to enumerate (required)-w, --wordlist: Path to custom wordlist file--threads: Number of threads for parallel enumeration (default: 10)--limit: Maximum number of subdomains to enumerate--no-limit: Remove subdomain limit--test: Run in test mode (uses mock data)--output-dir: Custom directory for saving resultsThe tool can be configured through config/settings.ini:
[AI]
cohere_api_key = your_api_key_here
model = command-r7b-12-2024
[DNS]
timeout = 1
retries = 2
nameservers = 8.8.8.8,8.8.4.4,1.1.1.1,1.0.0.1
[Scanning]
max_threads = 10
max_subdomains = 200
python smartsubai.py -d example.com
python smartsubai.py -d example.com -w wordlists/custom.txt
python smartsubai.py -d example.com --threads 20 --no-limit
python smartsubai.py -d example.com --limit 50
We welcome contributions! Please see our Contributing Guidelines for details.
This project is licensed under the MIT License - see the LICENSE file for details.