Automatic SQL injection and database takeover tool http://sqlmap.org
Find a file
2026-06-10 21:03:58 +02:00
.github Minor update of CI/CD workflow 2026-06-10 19:42:23 +02:00
data Update of chardet to 4.0.0 2026-06-10 21:03:58 +02:00
doc Normalization of CRLF inside checkSums 2026-01-28 23:58:35 +01:00
extra Minor update 2026-05-08 18:04:33 +02:00
lib Update of chardet to 4.0.0 2026-06-10 21:03:58 +02:00
plugins Minor patch for Oracle's readFile 2026-06-04 20:54:07 +02:00
tamper Minor patches to tamper scripts 2026-06-04 20:06:07 +02:00
thirdparty Update of chardet to 4.0.0 2026-06-10 21:03:58 +02:00
.gitattributes Renaming Twitter to X 2024-03-01 13:08:03 +01:00
.gitignore Update .gitignore 2026-06-09 20:21:50 +02:00
LICENSE Year bump 2026-01-01 19:12:07 +01:00
README.md Added tarsier 2026-06-09 20:19:49 +02:00
sqlmap.conf Minor update for #6015 2026-02-05 10:54:14 +01:00
sqlmap.py Patches #6068 2026-06-05 11:00:44 +02:00
sqlmapapi.py Harden REST API option handling and require authentication credentials (#6073) 2026-06-10 18:37:46 +02:00
sqlmapapi.yaml Improving Swagger YAML for REST-JSON API server 2026-06-10 19:10:13 +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