Skip to main content

SQLDark

Advanced SQL injection & database takeover framework
A fast, modular, terminal-only alternative to sqlmap — built for Termux & Linux.

SQLDark live demo


Why SQLDark

  • Every injection family: error-based, boolean-blind, UNION, time-blind, and stacked queries.
  • Three extraction engines: UNION oracle (fast), error-based leak (MySQL / MSSQL / PostgreSQL / Oracle), and character-by-character boolean-blind with per-DBMS primitives.
  • 16 database engines recognised, with a payload library of 8,900+ vectors split per DBMS / technique / boundary.
  • WAF-aware: 100+ WAF/IPS signatures (incl. PHPIDS) and automatic tamper-chain selection to get through them.
  • 41 tamper scripts for evasion, chainable in any order.
  • Sessions ("sezon"): save a scan, resume it later, or delete it.
  • Database export: dump one table or the whole database and archive it to a zip named after the site.
  • Terminal only. No GUI, no TUI. Just the command line.

Install

pip install sqldark

From source:

git clone https://github.com/<user>/sqldark
cd sqldark && pip install -e .

Quick start

# Detect everything on a parameter
sqldark -u "https://shop.example/product?id=1"

# Fingerprint + dump the whole database, save a session, export to zip
sqldark -u "https://shop.example/product?id=1" --banner --current-db --dump-all --session shop --export

# No parameter? SQLDark crawls the site and finds one
sqldark -u "https://shop.example/"

# Get through a WAF automatically
sqldark -u "https://shop.example/item?id=1" --auto-tamper --level 3

# Pick your own tamper chain
sqldark -u "https://shop.example/item?id=1" --tamper space2comment,randomcase,charencode

Command groups

Group Options
Target -u/--url, --data, -m/--method
Request --cookie, -H/--header, --proxy, --timeout, --delay, --random-delay, --random-agent, --csrf-url, --csrf-token
Detection --technique E,B,U,T,S, --level 1-5, --risk 1-3, --skip-waf
Evasion --tamper, --auto-tamper, --list-tampers
Enumeration --banner, --current-db, --tables, --columns, --dump, --dump-all, -D, -T, --max-rows
Session --session, --list-sessions, --delete-session, --export

Run sqldark --help for the full, described list.

Sessions & export

sqldark -u "https://shop.example/item?id=1" --dump-all --session shop --export
sqldark --list-sessions
sqldark --delete-session shop

Exports land in ./.sqldark/database/<host>/<name>.zip — one CSV per table (original names kept) plus a manifest.json.

SQLDark is for authorized security testing and education only. Use it only against systems you own or have explicit written permission to test. You are responsible for how you use it.

License

MIT © Muhammed Balin

Metadata

Release files for sqldark 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sqldark 0.1.0
File Size Uploaded Provenance Actions
sqldark-0.1.0.tar.gz 429.9 kB Without provenance Details for sqldark-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sqldark 0.1.0
File Interpreter ABI Platform Actions
sqldark-0.1.0-py3-none-any.whl Python 3 none any Details for sqldark-0.1.0-py3-none-any.whl

Total release size: 3.7 MB

Release files / sqldark-0.1.0.tar.gz

Download URL sqldark-0.1.0.tar.gz
Size 429.9 kB
Tags Source
SHA-256 checksum
How to use checksums
dc0e94e3ad7eb6ab269255da617152e8b30ba9068e75423340ade090e7e65f89
BLAKE2b-256 checksum
How to use checksums
695304b2113f8f6a6c4ce4944ef071475e88a20f31b73347fc33d002d71a996c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / sqldark-0.1.0-py3-none-any.whl

Download URL sqldark-0.1.0-py3-none-any.whl
Size 3.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7133e052313b86997b06444976121a5166f548597168f206c53a18a364331c25
BLAKE2b-256 checksum
How to use checksums
e0f3ea2817ac3525616cf0db61ad76a1ad34315b430d44b7732d3c8e76f5f889
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for sqldark 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page