← 返回
未分类

sqlmap-skill

Build, explain, and run authorized sqlmap assessments for SQL injection testing from URL, raw HTTP request files, proxy logs, or batch target lists. Use when a user asks to detect SQL injection, fingerprint DBMS, enumerate schema/data, dump records, tune request/auth/proxy/tamper options, or map a testing goal to concrete sqlmap flags.
user_6b7b3204
未分类 community v1.0.0 1 版本 99285.7 Key: 无需
★ 0
Stars
📥 139
下载
💾 3
安装
1
版本
#latest

概述

Sqlmap Operator

Overview

Translate user testing goals into correct sqlmap commands and execute them in a controlled way.

Use this skill to choose flags, run staged scans, and return findings with reproducible command lines.

Workflow

  1. Ask for sqlmap_cmd before generating commands.

Default to sqlmap when user does not provide a path.

Accept examples like python /opt/sqlmap/sqlmap.py or python C:\tools\sqlmap\sqlmap.py.

  1. Confirm authorization and scope before any scan.
  2. Select target input mode:

-u for single URL, -r for raw request file, -l for proxy log, -m for bulk targets.

  1. Start with low-impact detection first:

prefer --batch --level=1 --risk=1 --threads=1.

  1. Escalate only when needed:

raise --level, --risk, or add technique/tamper options after baseline evidence.

  1. Run enumeration actions only after injectable parameters are confirmed.
  2. Summarize outcomes with:

exact command used, vulnerable parameter(s), DBMS fingerprint, and extraction scope.

Command Patterns

Use these templates and replace placeholders.

Replace with user input (or sqlmap).

# Baseline detection
<sqlmap_cmd> -u "https://target.tld/item.php?id=1" --batch --level=1 --risk=1

# Raw request file testing
<sqlmap_cmd> -r "/path/to/request.txt" --batch -p "id"

# DBMS fingerprint + basic enumeration
<sqlmap_cmd> -u "https://target.tld/item.php?id=1" --batch -f --banner --current-db --dbs

# Table dump with explicit scope
<sqlmap_cmd> -u "https://target.tld/item.php?id=1" --batch -D appdb -T users --columns --dump

# Use tamper/proxy when WAF or blocking is suspected
<sqlmap_cmd> -u "https://target.tld/item.php?id=1" --batch --proxy="http://127.0.0.1:8080" --tamper=space2comment

Input Contract

  • Required from user: target/scope and authorization confirmation.
  • Optional from user: sqlmap_cmd.
  • Fallback behavior:

use sqlmap if sqlmap_cmd is not provided.

Option Mapping

  • Need target definition: use one of -u, -r, -l, -m, -d, -g, -c.
  • Need request shaping: use headers/cookies/auth/proxy/tor/timeouts in Request.
  • Need higher detection coverage: tune --level, --risk, --technique, --time-sec.
  • Need schema/data extraction: use --dbs, --tables, --columns, --dump, --search.
  • Need OS or filesystem pivoting: use --os-cmd, --os-shell, --file-read, --file-write.
  • Need output and repeatability: use -t, --har, --output-dir, --save, -s.

Safety Rules

  • Require explicit user confirmation of authorization and testing scope.
  • Refuse guidance for unauthorized targets or covert misuse.
  • Prefer minimally invasive checks first, then escalate deliberately.
  • Avoid destructive actions unless user explicitly requests and authorization is clear.
  • Redact secrets/tokens from shared logs and command examples.

References

  • Read references/sqlmap-cheatsheet.md first for common recipes.
  • Read references/sqlmap-help-hh.txt for exact flag names and full option groups.

版本历史

共 1 个版本

  • v1.0.0 Initial release 当前
    2026-04-05 20:09 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,363 📥 319,019
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,503
ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,062 📥 799,765