---
name: sqlmap-database-penetration-testing-2b5fcc163186
description: 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.
metadata:
  author: zebbern
  version: 4.1.0-fractal
---

# 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

## 🧠 Knowledge Modules (Fractal Skills)

### 1. [1. Identify SQL Injection Vulnerability](./sub-skills/1-identify-sql-injection-vulnerability.md)
### 2. [2. Enumerate Databases](./sub-skills/2-enumerate-databases.md)
### 3. [3. Enumerate Tables](./sub-skills/3-enumerate-tables.md)
### 4. [4. Enumerate Columns](./sub-skills/4-enumerate-columns.md)
### 5. [5. Extract Data](./sub-skills/5-extract-data.md)
### 6. [6. Advanced Target Options](./sub-skills/6-advanced-target-options.md)
### 7. [Database Enumeration Progression](./sub-skills/database-enumeration-progression.md)
### 8. [Supported Database Management Systems](./sub-skills/supported-database-management-systems.md)
### 9. [SQL Injection Techniques](./sub-skills/sql-injection-techniques.md)
### 10. [Essential Options](./sub-skills/essential-options.md)
### 11. [Operational Boundaries](./sub-skills/operational-boundaries.md)
### 12. [Performance Considerations](./sub-skills/performance-considerations.md)
### 13. [Legal Requirements](./sub-skills/legal-requirements.md)
### 14. [Detection Risk](./sub-skills/detection-risk.md)
### 15. [Example 1: Complete Database Enumeration](./sub-skills/example-1-complete-database-enumeration.md)
### 16. [Example 2: POST Request Injection](./sub-skills/example-2-post-request-injection.md)
### 17. [Example 3: Bulk Target Scanning](./sub-skills/example-3-bulk-target-scanning.md)
### 18. [Example 4: Aggressive Testing](./sub-skills/example-4-aggressive-testing.md)
### 19. [Example 5: Extract Specific Credentials](./sub-skills/example-5-extract-specific-credentials.md)
### 20. [Example 6: OS Shell Access (Advanced)](./sub-skills/example-6-os-shell-access-advanced.md)
### 21. [Issue: "Parameter does not seem injectable"](./sub-skills/issue-parameter-does-not-seem-injectable.md)
### 22. [Issue: Target Behind WAF/Firewall](./sub-skills/issue-target-behind-waffirewall.md)
### 23. [Issue: Connection Timeout](./sub-skills/issue-connection-timeout.md)
### 24. [Issue: Time-Based Attacks Too Slow](./sub-skills/issue-time-based-attacks-too-slow.md)
### 25. [Issue: Cannot Dump Large Tables](./sub-skills/issue-cannot-dump-large-tables.md)
### 26. [Issue: Session Drops During Long Scan](./sub-skills/issue-session-drops-during-long-scan.md)


---
Source attribution: Dokhacgiakhoa
Original project: https://github.com/Dokhacgiakhoa/antigravity-ide/blob/c4a059bbf7a8d6b2162071f0fbfe74053faa6d20/.agent/skills/sqlmap-database-pentesting/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 Dokhacgiakhoa

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

================================================================================
UNIVERSAL ACKNOWLEDGEMENTS & REFERENCES
================================================================================

This project is authored and maintained by Dokhacgiakhoa.
Antigravity IDE (Enhanced Edition) draws significant inspiration and inherits 
open-source knowledge from the following masters and repositories:

1. Antigravity Kit (Core Reference)
   - Original Author: vudovn
   - Link: https://github.com/vudovn/antigravity-kit

2. Antigravity Awesome Skills (Skill Metadata Reference)
   - Original Author: sickn33
   - Link: https://github.com/sickn33/antigravity-awesome-skills

3. UI/UX Pro Max (Design Philosophy Reference)
   - Original Author: sickn33
   - Link: https://github.com/sickn33/ui-ux-pro-max

4. Model Context Protocol (MCP) standards
   - Authors: Anthropic & Ecosystem Contributors
   - Link: https://modelcontextprotocol.io/

5. High-Performance Web Standards
   - Inspiration: Vercel Engineering & Anthony Fu (antfu)

6. Strategic Knowledge Extraction
   - Inspiration: Fabric Patterns (danielmiessler)

*Note: All trademarks and copyrights belong to their respective owners. 
The references above reflect research-level inspiration and antecedent 
contributions. These parties are not involved in the management of this repository.*



# Mega AI Hub resource metadata

Creator / publisher: Dokhacgiakhoa
Original project: https://github.com/Dokhacgiakhoa/antigravity-ide/blob/c4a059bbf7a8d6b2162071f0fbfe74053faa6d20/.agent/skills/sqlmap-database-pentesting/SKILL.md
Attribution basis: Source repository record

Fields of work: Development & Engineering
Roles: Backend Developer, Data Engineer, Security Engineer
Specialties: Database, Testing
Tools: Sqlmap
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 53a9d59413015f2c42121c20f5d83a65754d025cf0a5f3505cafd8cd2fe97deb
