跳到正文
TakoAPI
返回技能列表

sql-injection-testing

由 brandonwise 提供

Web & Frontend Development
875下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Comprehensive SQL injection vulnerability assessment techniques for web applications, covering detection.

描述

该技能的功能

A reference for SQL injection vulnerability assessment in authorized penetration tests. Covers detection methods, exploitation techniques across MySQL, MSSQL, PostgreSQL, and Oracle, and filter bypass strategies. Also includes code review patterns for identifying vulnerable versus safe query implementations.

Combines detection, exploitation, and evasion techniques for four major database engines in one reference, cutting the need to cross-reference multiple sources during a time-limited engagement.

何时使用

  • Testing login forms for authentication bypass during a pentest
  • Identifying injectable URL parameters in a web application audit
  • Validating WAF rules against encoded or obfuscated SQL payloads
  • Checking whether parameterized queries are correctly implemented in a code review
  • Extracting proof-of-concept data from a test database to demonstrate impact

示例工作流

输入

User asks: 'Test the login form at POST /login for SQL injection on the username field'

智能体
  1. 1

    Inserts a single quote into the username field and checks for database error messages or HTTP 500 responses

  2. 2

    Applies boolean logic tests (OR 1=1-- and AND 1=2--) and compares response length and content

  3. 3

    Attempts authentication bypass payloads such as admin'-- to confirm exploitability

  4. 4

    Uses time-based blind injection (SLEEP(5) or WAITFOR DELAY) if no visible error response is returned

  5. 5

    Documents the injectable parameter, payload used, and database type identified

输出

Confirmed SQL injection in username field; login bypassed with admin'--; database fingerprinted as MySQL 8.0; recommended fix: parameterized queries

安装

clawhub install brandonwise/sql-injection-testing

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接