SQLMap Section 8 of 13
Installation
SQLMap is written in Python and requires Python 3.7+ to run.
Kali Linux (Pre-installed)
SQLMap comes pre-installed on Kali Linux.
bash
1sqlmap --version
Linux / macOS (pip)
Install via pip (recommended for most systems):
bash
1pip install sqlmap
From Source (Git)
Get the latest development version:
bash
1git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git\nsqlmap
Windows
Download Python from python.org, then install via pip:
bash
1pip install sqlmap\n# Or from source:\n# git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git
Docker
Run SQLMap without installing Python:
bash
1docker run -it --rm sqlmap/sqlmap -u 'http://target.com?id=1' --batch