
A modern graphical user interface based on SQLMap, providing intuitive and easy-to-use SQL injection detection and exploitation capabilities. While retaining SQLMap's powerful features, this GUI version offers users a friendly visual operation interface.
🌟 Key Features
🎨 Modern Interface Design
- Multi-theme support: Light, dark, and follow-system themes
- Responsive layout: Adapts to window size adjustments
- Grouped configuration: Parameters organized by functional modules
- Real-time preview: SQLMap commands generated and previewed in real time
🛠️ Functional Features
- Parameter configuration: Complete visual configuration of SQLMap parameters
- Target settings: Multiple target input methods such as URL, direct database connection, and log files
- Request configuration: Request parameter settings such as proxy, user agent, timeout, and retries
- Detection options: Configuration of detection level, risk level, injection techniques, and database type
- Output control: Output options such as verbosity, output directory, and batch mode
- Advanced features: Advanced options such as Tamper scripts, custom parameters, and thread control
🔧 Utilities
- SQLMap command generation: Automatically generates complete SQLMap commands based on GUI configuration
- Command copy function: One-click copy of generated commands to the clipboard
- Terminal integration: Built-in terminal for executing system commands and SQLMap operations
- Real-time logs: Real-time output display of the SQLMap execution process
- Progress monitoring: Visual display of detection progress
📊 Enhanced Experience
- Configuration management: Save and load configuration files
- One-click clear: Quickly reset all configurations to default values
- Smart hints: Parameter descriptions and usage suggestions
- Error handling: Friendly error prompts and exception handling
📋 System Requirements
- Python: 3.7 or higher
- Operating system: Windows, macOS, Linux
- Dependencies: PyQt6, and other dependencies as listed in requirements.txt
🚀 Quick Start
Install Dependencies
# 克隆项目
git clone https://github.com/Conly-Zy/Sqlmap-GUI
cd Sqlmap-GUI
# 安装Python依赖
pip install -r requirements.txt
Launch the GUI
Move all files from the Sqlmap-GUI project into the Sqlmap folder
mv * /usr/share/sqlmap/
# 启动图形界面
python gui.py
Basic Usage Workflow
- Set Target: Enter the target URL or configure the database connection in the "Target Settings" tab
- Configure Parameters: Configure detection parameters in each tab as needed
- Generate Command: Click the "Generate Command" button to view the generated SQLMap command
- Execute Detection:
- Method 1: Copy the command to the terminal and execute it manually
- Method 2: Use the built-in terminal to execute directly
- Method 3: Click the "Start Detection" button to execute in the GUI
📖 Detailed Feature Description
Target Settings
- Target URL (-u): Specify the URL address to test
- Direct Connection (-d): Connect directly to the database for testing
- Log File (-l): Read requests from a Burp or WebScarab log file
- Batch Targets (-m): Read multiple target URLs from a file
- Request File (-r): Read an HTTP request from a file
- Config File (-c): Use parameters from a configuration file
Request Configuration
- POST Data (--data): Specify the data for a POST request
- Cookie (--cookie): Set the HTTP Cookie
- User Agent (--user-agent): Customize the User-Agent
- Proxy Settings (--proxy): Configure an HTTP/HTTPS proxy
- Timeout Settings (--timeout): Set the connection timeout
- Retry Count (--retries): Set the number of retries after a connection failure
Detection Options
- Detection Level (--level): Levels 1-5, controlling the depth and breadth of detection
- Risk Level (--risk): Levels 1-3, controlling tests that may cause impact
- Injection Technique (--technique): Specify the type of injection technique to use
- Database Type (--dbms): Specify the target database management system
- Operating System (--os): Specify the target operating system type
Output Control
- Verbosity (--verbose): Levels 0-6, controlling the level of detail in output information
- Output Directory (--output-dir): Specify the directory for result output
- Batch Mode (--batch): Automatically select default options without user interaction
Advanced Features
- Tamper Script (--tamper): Use bypass scripts to process payloads
- Thread Count (--threads): Set the number of concurrent threads
- Delay (--delay): Set the interval between requests
- Random Agent (--random-agent): Use a random User-Agent
🎯 Use Cases
Web Application Security Testing
- Website SQL injection vulnerability detection
- Database security assessment
- Penetration testing projects
Security Research and Learning
- SQL injection technique learning
- Security tool usage training
- Vulnerability reproduction and analysis
Development and Testing
- Application security testing
- Code security audit
- Security baseline checks
⚠️ Disclaimer
This tool is intended only for authorized security testing and educational purposes. Users must ensure:
- Legal Use: Use only on systems for which explicit authorization has been obtained
- Educational Purpose: Use for learning and raising security awareness
- Assume Responsibility: Users bear full responsibility for any consequences caused by using this tool
- Comply with Laws: Strictly comply with local laws and regulations
🤝 Contribution Guide
Issues are welcome
📄 License
This project is open source under the GPL v2 license - see the LICENSE file for details.
📞 Support and Feedback
If you encounter problems during use or have suggestions for improvement, please:
- Check the existing Issues
- Create a new Issue describing the problem
- Provide detailed error information and reproduction steps
Note: This GUI version is a graphical wrapper for the original SQLMap; the core detection engine is still SQLMap. Thanks to the SQLMap project team for their outstanding work!