1. "No AI providers available"
- Check your
.envfile has correct API keys - Run
sqlmap-ai --check-providersto verify
2. "Ollama not detected"
- Make sure Ollama is running:
ollama serve - Check if models are installed:
ollama list - Verify
.envhasENABLE_OLLAMA=true
3. "SQLMap not found"
- Install SQLMap globally using one of these methods:
- Kali/Debian/Ubuntu:
sudo apt install sqlmap - macOS:
brew install sqlmap - From source:
git clone https://github.com/sqlmapproject/sqlmap.git && cd sqlmap && sudo python setup.py install
- Kali/Debian/Ubuntu:
- Verify installation:
sqlmap --version
4. "Configuration issues"
- Run
sqlmap-ai --config-wizardto fix setup - Check
sqlmap-ai --validate-configfor issues
5. "Request file not working"
- Ensure request file has proper HTTP format
- Check that Host header is present
- Verify request file path is correct
- Try with
--simplemode first:sqlmap-ai --simple -r request.txt
6. "URL validation failed"
- When using request files, the URL is automatically extracted
- Ensure request file contains valid HTTP request
- Check that the Host header matches the target domain
# Show all available commands
sqlmap-ai --help
# Show enhanced mode help
sqlmap-ai --enhanced --help
# Show simple mode help
sqlmap-ai --simple --help