Agent skill · security · davila7

SQLMap Database Penetration Testing

This skill should be used when the user asks to "automate SQL injection testing," "enumerate database structure," "extract database credentials using sqlmap," "dump tables and columns from a vulnerable database," or "perform automated database penetration testing." It provides comprehensive guidance for using SQLMap to detect and exploit SQL injection vulnerabilities.

Why this skill is useful

Adds executable SQLMap commands and advanced techniques for automated SQL injection testing that the AI wouldn't reliably generate on its own.

What it needs

Requires sqlmap installed locally. About 7k tokens when loaded. Last updated 2026-08-06. 30,138 stars on the source repository.

What this skill does

SQLMap Database Penetration Testing Purpose Provide systematic methodologies for automated SQL injection detection and exploitation using SQLMap. This skill covers database enumeration, table and column discovery, data extraction, multiple target specification methods, and advanced exploitation techniques for MySQL, PostgreSQL, MSSQL, Oracle, and other database management systems. Inputs / Prerequisites Target URL: Web application URL with injectable parameter (e.g., ?id=1) SQLMap Installation: Pre-installed on Kali Linux or downloaded from GitHub Verified Injection Point: URL parameter confirmed or suspected to be SQL injectable Request File (Optional): Burp Suite captured HTTP request for POST-based injection Authorization: Written permission for penetration testing activities Outputs / Deliverables Database Enumeration: List of all databases on the target server Table Structure: Complete table names within target database Column Mapping: Column names and data types for each table Extracted Data: Dumped records including usernames, passwords, and sensitive data Hash Values: Password hashes for offline cracking Vulnerability Report: Confirmation of SQL injection type and severity Core Workflow 1. Identify SQL Injection Vulnerability Manual Verification Initial SQLMap Scan 2. Enumerate Databases List All Databases Key Options: -u: Target URL with injectable parameter --dbs: Enumerate database names --batch: Use default answers (non-interactive mode) 3. Enumerate Tables List Tables in Specific Database Key Options: -D: Specify target database name --tables: Enumerate table names 4. Enumerate Columns List Columns in Specific Table Key Options: -T: Specify target table name --columns: Enumerate column names 5. Extract Data Dump Specific Table Data Dump Specific Columns Dump Entire Database Key Options: --dump: Extract all data from specified table --dump-all: Extract all data from all tables -C: Specify column names to extract 6. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills davila7/sqlmap-database-pentesting

View the source on GitHub

Browse the @skills marketplace