---
title: "SQLmap"
description: "A free tool that automates the detection and controlled exploitation of SQL injection, to prove a flaw’s real impact on the database. Examples and defences."
url: https://krakenshield.eu/knowledge/glossary/sqlmap/
lang: en
publisher: KrakenShield (KRAKEN HOLDING SAS)
overview: https://krakenshield.eu/llms.txt
---
# SQLmap
> A free tool that automates the detection and controlled exploitation of SQL injection, to prove a flaw’s real impact on the database. Examples and defences.

Pentest and offensive

automated SQL injection · database extraction

A free tool that automates the detection and controlled exploitation of SQL injection, to prove a flaw’s real impact on the database.

## In practice

Where the tester has spotted an injectable parameter, SQLmap confirms the flaw, identifies the database engine and can show, without destroying anything, what an attacker would extract: a few rows are enough to prove the impact, and the mandate sets the limits. SQL injection remains a pillar of the OWASP Top 10 despite counter-measures known for twenty years: prepared statements, server-side validation and a least-privilege application account. A well-built application offers SQLmap nothing; that is in fact the best test.

> **Example**
> Example
> 
> Fictional case: on a search field, the auditor demonstrates the injection by displaying only the database engine version, as the mandate allows. The fix is one prepared statement; the counter of similar attempts on the site proves bots were already probing for the same flaw.

## Sources

- [SQLmap, official website](https://sqlmap.org/)
- [OWASP, SQL Injection](https://owasp.org/www-community/attacks/SQL_Injection)
