Automatic SQL injection and database takeover tool http://sqlmap.org
Find a file
2026-08-18 12:04:51 +02:00
.github Fixing CI/CD errors 2026-07-16 18:33:39 +02:00
data Probe actual gadget executability instead of extension presence (avoids false success as non-superuser) 2026-08-18 12:04:51 +02:00
doc Update of CHANGELOG 2026-08-18 11:53:51 +02:00
extra Couple of fixes 2026-08-17 22:20:42 +02:00
lib Probe actual gadget executability instead of extension presence (avoids false success as non-superuser) 2026-08-18 12:04:51 +02:00
plugins Enabling PostgreSQL file write over a gadget when stacked queries are unavailable 2026-08-18 11:45:44 +02:00
tamper Couple of fixes 2026-08-17 22:20:42 +02:00
tests Couple of fixes 2026-08-17 22:20:42 +02:00
thirdparty Switching from pickle to json for serialization 2026-07-08 12:13:49 +02:00
.gitattributes Renaming Twitter to X 2024-03-01 13:08:03 +01:00
.gitignore Update of CHANGELOG progress 2026-08-07 14:55:31 +02:00
LICENSE Year bump 2026-01-01 19:12:07 +01:00
README.md Adding a research link to READMEs 2026-08-16 00:17:28 +02:00
sqlmap.conf Minor patch 2026-08-11 22:56:35 +02:00
sqlmap.py Fixes #6096 2026-08-11 13:40:57 +02:00
sqlmapapi.py Renaming REST-JSON API to REST API 2026-06-11 22:44:42 +02:00
sqlmapapi.yaml Minor update of the references 2026-07-03 10:10:29 +02:00

sqlmap

.github/workflows/tests.yml Python 2.7|3.x License x

sqlmap is an open source penetration testing tool that automates the process of detecting and exploiting SQL injection flaws and taking over of database servers. It comes with a powerful detection engine, many niche features for the ultimate penetration tester, and a broad range of switches including database fingerprinting, over data fetching from the database, accessing the underlying file system, and executing commands on the operating system via out-of-band connections.

Screenshots

Screenshot

You can visit the collection of screenshots demonstrating some of the features on the wiki.

Installation

You can download the latest tarball by clicking here or latest zipball by clicking here.

Preferably, you can download sqlmap by cloning the Git repository:

git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git sqlmap-dev

sqlmap works out of the box with Python version 2.7 and 3.x on any platform.

Usage

To get a list of basic options and switches use:

python sqlmap.py -h

To get a list of all options and switches use:

python sqlmap.py -hh

You can find a sample run here. 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.

Translations