tools-sqlmap
Operate sqlmap to confirm and exploit SQL injection — target selection from Burp requests, level/risk tuning, tamper scripts for WAF evasion, DB enumeration, and safe dump discipline. Load after a manual SQLi probe shows promise, or when automating confirmation across parameters. Signals: sqlmap, --
v2026.10.14-ee0e0c52 installs+2 in 7 days27 StarsMITsynced 23 hours ago
Install
No NotHoly CLI yet? Install it first.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install noorqureshi/tools-sqlmapWrites to ~/.notholy/skills after checking the signature and the SHA-256.
SignatureSigned, ed25519
Package9d415327…7f77e881
9d4153277439…630c7f77e8811 file · 2.5 KBScanMedium2 findings
- Link to a raw IP addressSKILL.md:63
- Links to outside domains
Sourcegithub.com/NoorQureshi/security-skills/tree/main/skills/tools/tools-sqlmap@ee0e0c5
On this page
When it applies
Manual testing (web-sqli) has produced a suspicious parameter on an in-scope target
(tradecraft-scope-roe), or you have many in-scope parameters and need automated triage. sqlmap
takes over the tedious part — confirming the injection type, fingerprinting the DBMS, enumerating
schema, and extracting proof data. It is an exploitation accelerator, not a discovery substitute:
feed it a real request, not a bare URL you have never looked at.
Why it works
sqlmap automates the full injection matrix per parameter — boolean-based, error-based, UNION query,
stacked queries, and time-based blind (--technique=BEUST) — with per-DBMS dialects and a tamper
pipeline that rewrites payloads to slip past filters. Because it replays a captured request, it
tests exactly the auth state, headers, and body the app expects.
Method
- Start from a captured request, not a URL — save a working authenticated request from Burp and
run
sqlmap -r req.txt --batch. URL-mode equivalents:bash sqlmap -u "http://target/page?id=1" --batch sqlmap -u "http://target/login" --data="user=admin&pass=test" --batch sqlmap -u "http://target/page?id=1" --cookie="PHPSESSID=xxx" --batch - Aim it.
-p idto test one parameter; mark the injection point inline with*(works in--dataand--cookietoo):--data="a=1&b=2*&c=3". If you already know the backend,--dbms=mysqlskips fingerprinting. - Turn up coverage deliberately:
--level=5 --risk=3tests more (headers at level 3+, heavier payloads at higher risk) — but each step multiplies request count and, at risk 3, adds OR-based payloads that can UPDATE whole tables. Escalate only after the default pass fails. - Evade filters with tamper scripts (see
payloads-waf-bypassfor the manual matrix):bash sqlmap -u "http://target/page?id=1" --tamper=space2comment,between --random-agentTamper Effect space2commentspaces → /**/between>→BETWEENrandomcaserandom keyword casing charencodeURL-encode every char equaltolike=→LIKEbase64encodeBase64 the payload - Enumerate only what proves impact:
--dbs→-D db --tables→-D db -T table --columns→-D db -T table -C col1,col2 --dump. Dump the minimum rows that demonstrate access (a few users, not the whole table). - Watch it work —
--proxy="http://127.0.0.1:8080"routes everything through Burp so you can see exactly what was sent and learn why a run failed. --os-shellonly when the engagement explicitly includes code execution — it writes a file to the server (into the webroot); record the path and delete it during cleanup.
Gotchas
- No cookies/session = scanning a login page — if the request needs auth, give sqlmap the exact cookie/token from a live session, or every response is the same 302 and it reports nothing.
- "not injectable" after defaults is not "not vulnerable" — work the matrix: raise
--level, try--technique=Talone for pure time-based, add tamper scripts, test other parameters. Only then mark the lead failed (House rules). - False positives happen — confirm the extracted data is real (does the "user" exist in the UI?)
before writing the finding (
reporting-triage-validation). - WAF/rate-limit bans mid-run — symptoms: responses suddenly all identical/blocked. Slow down
(
--delay), rotate UA (--random-agent), and checkroe.mdrequest-rate limits first. - Interrupted runs resume — sqlmap keeps session state in its output dir; rerun the same command instead of starting over.
--risk=3can modify data — OR-true payloads against UPDATE contexts rewrite rows. On production-scope targets, stay at risk 1–2 unless the RoE says otherwise.
Verify success
sqlmap names the injection type and DBMS, and you hold minimal extracted proof (e.g. one row from a
table you should not reach) plus the exact -r request and flags — enough for another tester to
reproduce the finding verbatim.
References
sqlmap docs and tamper script list. Detection theory and manual payloads: web-sqli and its
cheatsheet; WAF evasion matrix: payloads-waf-bypass.
Portions adapted from reverse-skill by zhaoxuya520, MIT License.
Files in this version
- SKILL.md5.0 KB
Permissions
| Permission | Declared | Found by the scan |
|---|---|---|
| Reads files | No | No |
| Writes files | No | No |
| Runs shell commands | Yes | Yes |
| Uses the network | Yes | Yes |
| Uses connectors | No | No |
| Drives a browser | No | No |
Scan findings
Reviewed on Nov 13, 2026
- MediumLink · Link to a raw IP addressSKILL.md:63
- InfoLink · Links to outside domains
A clean scan lowers the risk but does not prove a package is safe. Read what you install.
| Version | Published | Commit | SHA-256 | Signature | Permission change |
|---|---|---|---|---|---|
| v2026.10.14-ee0e0c5 | Nov 13, 2026 | ee0e0c5 | 9d415327 | Signed | – |
More from NoorQureshi
All from this publisherMore in Web and bug bounty
See the category- src-hunterzhaoxuya520/src-hunter5
- owasp-top10-analysissecurityskills/owasp-top10-analysis5
- testing-for-xml-injection-vulnerabilitiesmukul975/testing-for-xml-injection-vulnerabilities5
- offensive-xsssnailsploit/offensive-xss5
- offensive-rcesnailsploit/offensive-rce5
- source-review-techniqueaeondave/source-review-technique5
Ask anything your scope allows.
Create an account, add credits and ask the first question in the chat or the terminal.
- 1/3
Create the account
Individual or company. You can switch to a company later without losing balance or keys.
IndividualCompany - 2/3
Add credits
By card. Pay per token, no subscription.
$5.00minimum deposit - 3/3
Ask
In the chat, or install the CLI and run notholy login in your terminal.
$ notholy login