Skip to content

SQLMap AI Documentation

  • Quick Start

    Get up and running with SQLMap AI in minutes

  • User Guide

    Learn how to use SQLMap AI effectively

  • Examples

    See SQLMap AI in action with real examples

  • Configuration

    Configure AI providers and settings

What is SQLMap AI?

SQLMap AI is an AI-powered wrapper around SQLMap that makes SQL injection testing more accessible and automated. It combines the power of SQLMap with intelligent AI analysis to provide:

  • 🤖 AI-Assisted Testing: Get intelligent recommendations and automated analysis
  • ⚡ Multiple AI Providers: Support for Groq, OpenAI, Anthropic, and Ollama
  • 🔄 Adaptive Testing: Automatically adapts testing strategy based on target
  • 📊 Beautiful Reports: Generate comprehensive HTML reports with AI insights
  • 🔒 Privacy Options: Use local AI models with Ollama for complete privacy
  • 📁 Request File Support: Test complex scenarios with captured HTTP requests

Key Features

AI-Powered Analysis

  • Intelligent vulnerability assessment
  • Automated next-step recommendations
  • Risk analysis and remediation guidance
  • Context-aware testing strategies

Multiple Testing Modes

  • Enhanced Mode: Full AI-powered testing with advanced features
  • Simple Mode: Basic SQL injection testing without AI
  • Adaptive Mode: Intelligent step-by-step testing

AI Provider Support

  • Groq: Fastest cloud AI provider
  • OpenAI: Reliable and well-supported
  • Anthropic: Advanced reasoning capabilities
  • Ollama: Local AI for complete privacy

Advanced Features

  • Request file support for complex scenarios
  • WAF evasion techniques
  • DBMS-specific optimizations
  • Interactive CLI with progress tracking
  • Comprehensive HTML reporting

Quick Example

# Basic SQL injection test
sqlmap-ai -u "http://example.com/page.php?id=1"

# Enhanced mode with request file
sqlmap-ai --enhanced --adaptive -r request.txt

# Local AI with Ollama
sqlmap-ai -u "http://example.com/page.php?id=1" --ai-provider ollama

Installation

# Install from PyPI
pip install sqlmap-ai

# Or install from source
git clone https://github.com/atiilla/sqlmap-ai.git
cd sqlmap-ai
pip install -e .

Getting Started

  1. Install SQLMap AI - Set up the tool and dependencies
  2. Configure AI Providers - Set up your preferred AI provider
  3. Run Your First Test - Test a vulnerable application
  4. Explore Advanced Features - Learn about adaptive testing and more

Support

  • 📖 Documentation: This site contains comprehensive guides and examples
  • 🐛 Issues: Report bugs on GitHub Issues
  • 💬 Discussions: Join the conversation on GitHub Discussions
  • Star: If you find this project useful, please give it a star!

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.


Recent Updates

  • v2.0.1: Enhanced request file support
  • v2.0.0: Major release with adaptive testing
  • v1.5.0: Added Ollama support for local AI