hunt-sqli

Detects and exploits SQL and NoSQL injection vulnerabilities during authorized bug bounty testing.

Updated Sep 6, 2026
One-click install
npx skills add https://github.com/inventashif/helpful-code-sidekick --skill hunt-sqli-inventashif
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-sqli
Source: https://github.com/inventashif/helpful-code-sidekick/tree/main/scripts/hackerai/skills/bughunter/hunt-sqli
Command: npx skills add https://github.com/inventashif/helpful-code-sidekick --skill hunt-sqli-inventashif

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Finding SQL injection vulnerabilities manually is slow and error-prone, and testers often pick the wrong technique, miss the correct UNION column count, or submit reports that fail triage because impact was never proven. This Skill provides a structured hunting methodology built from 29 real bug bounty reports, CVEs, and security advisories. ## Core Features & Use Cases - Technique Selection Logic: Chooses UNION-based extraction for reflected endpoints and reserves blind boolean/time-based methods for non-reflecting ones, with exhaustive column-count enumeration. - Full Payload Arsenal: Covers error-based, boolean blind, time-based blind, UNION, NoSQL operator injection (MongoDB $where/$regex/$ne), and WAF bypass techniques including encoding, comment injection, and header-based delivery. - Modern Case Studies: Includes Rocket.Chat CVE-2021-22911, Mongoose CVE-2024-53900, Django CVE-2024-42005, and Mozilla blind SQLi reports with root-cause analysis. - Use Case: While testing a target's /search endpoint in an authorized bug bounty program, use this Skill to confirm injection, enumerate columns, extract proof data, and validate the finding against the Gate 0 reproducibility checklist before reporting. ## Quick Start Use the hunt-sqli skill to test this target's search parameter for SQL injection and help me build a reproducible proof of concept for my bug bounty report.

Frequently Asked Questions about hunt-sqli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find SQL injection vulnerabilities in a bug bounty target?

Start by enumerating all input vectors including GET/POST parameters, JSON bodies, headers, and cookies. Send error-based probes like a single quote, then test boolean and time-based conditions, and confirm with sqlmap at level 3 risk 2 before attempting UNION-based extraction.

How do I find the column count for a UNION SQL injection attack?

Enumerate the column count using ORDER BY increments until an error occurs, or UNION SELECT with increasing NULL values up to about 12. The correct count is when the UNION stops erroring, and you must establish it before selecting real column names.

What is the difference between UNION-based and blind SQL injection?

UNION-based injection dumps data directly into reflected page output and is fast, while blind injection extracts data character-by-character through boolean or timing differences. Use UNION whenever the endpoint reflects query results and reserve blind techniques as a last resort.

Can NoSQL databases like MongoDB be vulnerable to injection?

Yes, MongoDB is vulnerable to operator injection using $where, $regex, $ne, and $gt operators passed through JSON bodies or PHP-style array parameters. Developers often skip input validation assuming NoSQL means no injection, as shown in the Rocket.Chat and Mongoose CVEs.

How do I bypass a WAF during SQL injection testing?

Common WAF bypasses include comment insertion like SEL/**/ECT, case variation, URL and double-URL encoding, tab or newline substitution, and injecting through headers like X-Forwarded-For or User-Agent. Chunked transfer encoding can also split payloads to evade body inspection.

Why was my SQL injection bug bounty report rejected as informational?

Reports fail when they show only an error message without proving data extraction, timing control, or authentication bypass. You must demonstrate specific data at risk and provide a single reproducible request that a triage engineer can verify in under ten minutes.