AI-powered SQL injection testing tool with multiple AI providers
Project description
SQLMap AI Assistant
An AI-powered wrapper around SQLMap that makes SQL injection testing more accessible and automated.
Features
Core Features
- AI-Assisted Testing - Intelligent vulnerability analysis and recommendations
- Adaptive Testing - Step-by-step testing that adapts to target responses
- Enhanced HTML Reports - Beautiful, detailed reports with vulnerability details
- Parameter Targeting - Test specific parameters with
-poption (like original SQLMap) - WAF Bypass - Automatic tamper script selection for firewall evasion
- Database Enumeration - Complete database, table, and column discovery
- Request File Support - Test from Burp Suite, ZAP, or browser captures
AI Providers
- Groq - Fastest AI analysis (recommended)
- DeepSeek - Affordable and capable analysis
- OpenAI - GPT-4 powered analysis
- Anthropic Claude - Advanced reasoning
- Ollama - Local, private AI (no cloud required)
New in v2.0.6
- Private Network Scanning - Local/private IP targets now allowed by default
- Configurable Network Policy - New
allow_private_networkssecurity setting - Improved Test Coverage - Added dedicated tests for private network validation
See the full Changelog for previous versions.
Quick Start
1. Install SQLMap:
sudo apt install sqlmap # Debian/Ubuntu/Kali
brew install sqlmap # macOS
2. Install SQLMap AI:
pip install sqlmap-ai
sqlmap-ai --install-check
3. Set an API key in your .env file (e.g., Groq - free & fastest):
GROQ_API_KEY=your_groq_api_key_here
4. Run:
sqlmap-ai -u "http://example.com/page.php?id=1"
See the full Installation Guide for all providers and options.
Documentation
| Guide | Description |
|---|---|
| Installation | Prerequisites, setup, AI provider configuration |
| Usage | Examples, testing modes, request files, workflows |
| Configuration | .env, config.yaml, command-line reference |
| Troubleshooting | Common issues and getting help |
| Changelog | Version history |
Requirements
- Python 3.8+
- SQLMap (must be installed globally on your system)
- Kali/Debian/Ubuntu:
sudo apt install sqlmap - macOS:
brew install sqlmap - From source: github.com/sqlmapproject/sqlmap
- Kali/Debian/Ubuntu:
- Internet connection (for cloud AI providers)
- 2GB+ RAM (for Ollama local models)
License
This project is licensed under the MIT License.
Disclaimer
This tool is intended for educational and ethical hacking purposes only. Always obtain permission before testing any system or application. The developers are not responsible for any misuse or damage caused by this tool.
Star History
Project details
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 sqlmap_ai-2.0.8.tar.gz.
File metadata
- Download URL: sqlmap_ai-2.0.8.tar.gz
- Upload date:
- Size: 90.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5f67a05a93260d729f11fceebe7d88eea4ac994a5ded47b858e4aef14a1cdfc
|
|
| MD5 |
a2156d6e03a6f811d1d0801130f6103f
|
|
| BLAKE2b-256 |
c5a29ead20d684f66352508954061ce7ffcb474a451b1a1dad83b7c2b084b9cc
|
File details
Details for the file sqlmap_ai-2.0.8-py3-none-any.whl.
File metadata
- Download URL: sqlmap_ai-2.0.8-py3-none-any.whl
- Upload date:
- Size: 91.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a839f0abfdd814118feefe3a7fa510c9c85f03ff657b233ada2b4107ceb6638e
|
|
| MD5 |
937e9c64cae16ba4fc58c93e7ad7635e
|
|
| BLAKE2b-256 |
a0db928140d903d4877fcaf7bba4c94f1a120866a686ffe7772e9cf1301d1304
|