sqlmap Cheatsheet

← Back to cheatsheets

← Home

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

sqlmap is an automated SQL injection testing and exploitation tool. It can detect and exploit SQL injection vulnerabilities in web applications, supporting multiple database management systems.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Basic Usage

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Target Options

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Request Options

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Parameter Options

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Enumeration Options

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Database System Options

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

File Operations

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Shell Options

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Detection Options

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Technique Options

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Output Options

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Misc Options

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Common Examples

Basic Detection

Enumerate Databases

Enumerate Tables

Dump Table

POST Request

From Burp Log

Get OS Shell

Read File

Use Tor

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Tips

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

← Back to cheatsheets

← Home