Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
Automatic SQL injection and database takeover tool
Branch: master
Clone or download
Latest commit 2d129f3 Mar 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Trivial text update Dec 28, 2018
doc Minor updates (#3536) Mar 19, 2019
extra Minor cleanup Mar 21, 2019
lib Finalizing #3545 Mar 22, 2019
plugins Finalizing #3545 Mar 22, 2019
procs Implementation for an Issue #647 Sep 5, 2018
shell Minor refactoring Feb 8, 2018
tamper Update regarding #2940 (PEP 394) Mar 21, 2019
thirdparty
txt Minor cleanup Mar 21, 2019
udf Added new compiled 64-bit version (Issue #2965) Mar 8, 2018
waf Update regarding #2940 (PEP 394) Mar 21, 2019
xml Minor naming update Mar 12, 2019
.gitattributes Minor update Mar 19, 2019
.gitignore Taking couple of suggestions from #2417 Feb 27, 2017
.travis.yml
COMMITMENT
LICENSE update_copyright_year() Jan 5, 2019
README.md Minor patch of links Mar 5, 2019
sqlmap.conf Minor updates (#3536) Mar 19, 2019
sqlmap.py Update regarding #2940 (PEP 394) Mar 21, 2019
sqlmapapi.py
swagger.yaml Some more updates regarding #3140 Nov 15, 2018

README.md

sqlmap

Build Status Python 2.6|2.7 License PyPI version GitHub closed issues Twitter

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 lasting from database fingerprinting, over data fetching from the database, to accessing the underlying file system and executing commands on the operating system via out-of-band connections.

The sqlmap project is sponsored by Netsparker Web Application Security Scanner.

Screenshots

Screenshot

You can visit the collection of screenshots demonstrating some of 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.6.x and 2.7.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, list of supported features and description of all options and switches, along with examples, you are advised to consult the user's manual.

Links

Translations

You can’t perform that action at this time.