Skip to main content

PyQt5 desktop GUI for running sqlmap with a friendly interface.

Project description

sqlmap-gui

GUI Preview

sqlmap-gui is a Python-based graphical user interface (GUI) for interacting with the powerful sqlmap penetration testing tool. This GUI simplifies the use of sqlmap, enabling users to execute SQL injection tests and analyze vulnerabilities without requiring extensive command-line experience.


GitHub release GitHub release date GitHub last commit

Features

  • User-Friendly Interface: Simplified navigation for sqlmap functionalities.
  • Comprehensive Options: Access to all popular sqlmap commands with categorized tabs.
  • Results Display: Real-time output display for executed sqlmap commands.
  • Cross-Platform: Runs on Windows and Linux (working).
  • Customizable: Easily add new features or extend the interface.

Screenshots

GUI Preview

GUI Preview


Installation

Follow these steps to set up the project locally:

Clone the Repository

git clone https://github.com/raselmandol/sqlmap-gui.git
cd sqlmap-gui

Create a Virtual Environment

python -m venv sqlmap_env
sqlmap_env\Scripts\activate    # Windows

Install Dependencies

pip install -r requirements.txt

Build

pip install -e .

Run the Application

python sqlmap_gui

Build Executable (Windows)

if you want to build an .exe:

Install PyInstaller:

pip install pyinstaller

Note: Already added in requirements.txt. (If you want to ignore it, make sure to remove it from requirements.txt.)

Convert your PNG icon to ICO.

Run:

pyinstaller --name sqlmap-gui --onefile --windowed --icon=icon.ico sqlmap_gui/main.py

Builder Script (builder.bat)

Usage

Run the script with one of the following flags:

builder.bat --build

Builds the project using pip install -e .

builder.bat --run

Runs the main application using python sqlmap_gui.

builder.bat --exe

Builds a standalone executable using PyInstaller. Configuration parameters are loaded from config.txt.

Note: To use --activate, run ./builder.ps1 --activate instead of ./builder.bat --activate. The PowerShell script (builder.ps1) is more reliable and effective in PowerShell environments, which are commonly used as the default terminal in most IDEs (such as Visual Studio Code).


How to Use

  1. Launch the GUI (python sqlmap_gui).
  2. Navigate through the tabs to explore sqlmap commands:
  • Injection Tests: Enter a target URL and customize sqlmap options.
  • Advanced Options: Configure sqlmap payloads and settings.
  1. Execute the command and view results in the output console.

Example

Here is a sample workflow for detecting vulnerabilities on a target website:

  1. Enter the target URL: http://example.com/page?id=1.
  2. Select detection options like:
    • Technique: --technique=T
    • DBMS: --dbms=mysql
  3. Click Run to execute sqlmap.
  4. View results in the output console.

More

To get a list of basic options and switches use:

-h

To get a list of all options and switches use:

-hh

To get an overview of sqlmap capabilities, a list of supported features, and a description of all options and switches, along with examples, you are advised to consult the user's manual. Use extra/optional command input option to use those extra options and switches. You can find Custom Query option in Enumerate tab.


Requirements

  • Python 3.8+
  • PyQt5
  • sqlmap source

Contribution

Contributions are welcome! To contribute:

  1. Fork this repository.

  2. Create a new branch:

    git checkout -b feature-name
    
  3. Commit your changes:

    git commit -m "Add new feature"
    
  4. Push to your branch:

    git push origin feature-name
    
  5. Open a pull request.


License

This project is licensed under the MIT License, sqlmap license.

To-Do

  • Enhance error handling.
  • AI Assistant Panel
  • Option Recommender (Auto-Suggest Best SQLMap Flags)
  • Auto Tamper Script Selector (Based on Response Patterns)
  • Vulnerability Summary Generator
  • Builder.bat script
  • Option to load Sqlmap source/folder selection
  • Improve documentation with more examples.
  • More tabs/ more options
  • JSON import, export
  • History Tab
  • Optimization tab
  • Burp proxy
  • sqlmap web
  • Clean terminal/editor
  • GitHub pages with documentation

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

sqlmap_gui-1.1.0.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sqlmap_gui-1.1.0-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

Details for the file sqlmap_gui-1.1.0.tar.gz.

File metadata

  • Download URL: sqlmap_gui-1.1.0.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for sqlmap_gui-1.1.0.tar.gz
Algorithm Hash digest
SHA256 f7d10e7a4fd0fb6560ff944a2948109bc256a3b5c154a0213da44c92495006c7
MD5 71f0cbcffb47736be20c7fe01c1ee76e
BLAKE2b-256 c37b8e9ffcaafc833fbabfb38565cc16c9c17f7a6784de539c02b4eabe494ca0

See more details on using hashes here.

File details

Details for the file sqlmap_gui-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: sqlmap_gui-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 32.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for sqlmap_gui-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 078f9cf9cea17e685a6e57f06bee49477e55940e4c13ca666455fff11377a6ad
MD5 fb5a5de95be19b87c3d1590d40838f0a
BLAKE2b-256 b64eb7f9d837531885337693e1be236811db9a8871a0c7425d62b13b69f88926

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page