Перейти к содержимому
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
noorqureshi/tools-sqlmapВеб и bug bounty

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 установки+2 за 7 дней27 ЗвездыMITсинхронизировано 23 часа назад

Установка

Ещё нет NotHoly CLI? Сначала установите её.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install noorqureshi/tools-sqlmap

Пишет в ⁦~/.notholy/skills⁩ после проверки подписи и SHA-256.

ПодписьПодписано, ed25519
wIYQ4n+HiM…gYvnI4Bg==CLI проверяет SHA-256 и подпись, прежде чем записать хоть один файл.
Пакет9d415327…7f77e881
9d4153277439…630c7f77e8811 файл · ⁦2.5 KB⁩
ПроверкаСредний2 замечания
  • Ссылка на IP-адресSKILL.md:63
  • Ссылки на внешние домены
Вся проверка
Источникgithub.com/NoorQureshi/security-skills/tree/main/skills/tools/tools-sqlmap@ee0e0c5

Эта запись еще не переведена на русский, поэтому показан текст на другом языке: English.

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

  1. 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
  2. Aim it. -p id to test one parameter; mark the injection point inline with * (works in --data and --cookie too): --data="a=1&b=2*&c=3". If you already know the backend, --dbms=mysql skips fingerprinting.
  3. Turn up coverage deliberately: --level=5 --risk=3 tests 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.
  4. Evade filters with tamper scripts (see payloads-waf-bypass for the manual matrix):
    bash
    sqlmap -u "http://target/page?id=1" --tamper=space2comment,between --random-agent
    Tamper Effect
    space2comment spaces → /**/
    between > → BETWEEN
    randomcase random keyword casing
    charencode URL-encode every char
    equaltolike = → LIKE
    base64encode Base64 the payload
  5. 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).
  6. 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.
  7. --os-shell only 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=T alone 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 check roe.md request-rate limits first.
  • Interrupted runs resume — sqlmap keeps session state in its output dir; rerun the same command instead of starting over.
  • --risk=3 can 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.

Файлы этой версии

Права

ПравоЗаявленоНайдено проверкой
Читает файлыНетНет
Пишет файлыНетНет
Выполняет команды shellДаДа
Ходит в сетьДаДа
Использует коннекторыНетНет
Управляет браузеромНетНет

Замечания проверки

Проверено 13 нояб. 2026 г.

  1. СредняяСсылка · Ссылка на IP-адресSKILL.md:63
  2. ИнфоСсылка · Ссылки на внешние домены

Чистая проверка снижает риск, но не доказывает, что пакет безопасен. Читайте то, что ставите.

ВерсияОпубликованаКоммитSHA-256ПодписьИзменение прав
v2026.10.14-ee0e0c513 нояб. 2026 г.ee0e0c59d415327Подписана–

Спрашивайте обо всём, что позволяет ваш скоуп.

Создайте аккаунт, пополните баланс и задайте первый вопрос в чате или в терминале.

  1. 1/3

    Создайте аккаунт

    Личный или для компании. Позже можно перейти на аккаунт компании без потери баланса и ключей.

    ЛичныйКомпания
  2. 2/3

    Пополните баланс

    Картой. Оплата за токены, без подписки.

    $5.00минимальное пополнение
  3. 3/3

    Спрашивайте

    В чате, или установите CLI и выполните notholy login в терминале.

    $ notholy login