Skip to main content

SQLDark

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

sdark.gt.tc · PyPI · GitHub

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.2

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.2
File Size Uploaded Provenance Actions
sqldark-0.1.2.tar.gz 433.2 kB Without provenance Details for sqldark-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 3.7 MB

Release files / sqldark-0.1.2.tar.gz

Download URL sqldark-0.1.2.tar.gz
Size 433.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0a9b3caf3e39ec3f57ee3c72b803c516e792b14c958c29f844d0e545e7ad25c8
BLAKE2b-256 checksum
How to use checksums
f1a762b7163d751f5ed497a628111c936c1ffb0c461ef71ff1291f9d19c9b83f
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.2-py3-none-any.whl

Download URL sqldark-0.1.2-py3-none-any.whl
Size 3.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
cfba2efd2401f1a817e96980e73286cd71acad18a3a8b1e2ec735656adf1b5e6
BLAKE2b-256 checksum
How to use checksums
3b2b747c5c4ab9d606b54935970e2fac3af9d459d7c7fb09fa1d315d27c457b0
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.2

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