Skip to content

Latest commit

 

History

History
71 lines (51 loc) · 2.6 KB

File metadata and controls

71 lines (51 loc) · 2.6 KB

burp-sqlmap

A Burp Suite extension that launches and tracks sqlmap runs from inside Burp. Right-click a request → "Send to sqlmap" → it pre-fills a request file, you tweak the options in a dedicated tab, and the extension spawns sqlmap and surfaces its output without leaving Burp.

Burp Java License

⚠️ Authorized use only

SQL-injection testing is intrusive. Use this only against systems you own or are explicitly authorized to test (pentest engagement, bug-bounty in-scope, CTF, lab).

Why

The store extension for this was clunky; this one is a thin, predictable wrapper — Burp hands a captured request straight to sqlmap, you keep one tab for options/output, and you never lose Burp's session/scope context.

How it works

flowchart LR
    subgraph BURP["Burp Suite + this extension"]
        REQ["a request in Proxy / Repeater"] -->|"right-click → Send to sqlmap (GUI)"| CTX["SqlmapExtension<br/>(context-menu provider)"]
        CTX -->|"pre-fill a request file + options"| TAB["SqlmapPanel<br/>the 'sqlmap' suite tab — options + output"]
        TAB -->|"Run / Stop"| CTX
    end
    CTX -->|"spawns: sqlmap -r request.txt &lt;options&gt;"| SQLMAP["sqlmap process"]
    SQLMAP -->|stdout/stderr| TAB
    SQLMAP -->|HTTP requests| TARGET[(target web app)]
Loading

Install

Requirements: Burp Suite (Montoya API), JDK 17+ to build, sqlmap on PATH.

./gradlew shadowJar          # -> build/libs/*.jar
# Burp: Extensions → Add → Java → select the jar

Usage

  1. In the proxy/repeater, right-click a request → Send to sqlmap (GUI).
  2. The sqlmap tab opens pre-filled; adjust the target/options.
  3. Run; sqlmap's output streams into the tab. Stop from the same tab.

Layout

src/main/java/com/example/sqlmap/
├── SqlmapExtension.java   # BurpExtension + context-menu provider; spawns sqlmap
├── SqlmapPanel.java       # the "sqlmap" suite tab (options + output)
└── SqlmapSettings.java    # options model
build.gradle               # Java 17, shadowJar

See also

License

MIT


Part of my work — more at zz0r0.fr.