sqlmap-rs
A type-safe, asynchronous Rust orchestrator for the world's most powerful SQL injection testing tool.
Instead of parsing messy command-line outputs, sqlmap-rs spawns Sqlmap's native REST server (sqlmapapi.py) in the background and communicates via a strictly typed Tokio JSON pipeline. This allows you to launch thousands of concurrent fuzzing tasks absolutely panic-free, securely mapping memory to RAII drops.
Installation
Add this to your Cargo.toml:
[]
= "0.1.0"
= { = "1", = ["full"] }
Prerequisite: python3 and sqlmap (specifically sqlmapapi) must be in your system $PATH.
Quick Start
use ;
async
Security & Memory
This binding follows modern Rust system safety patterns:
- When the
SqlmapTaskleaves scope, a silent background Tokio thread automatically reclaims the memory on the Python daemon by deleting the specific execution context. - When the
SqlmapEngineleaves scope at the end of your program, thestd::process::Childis sent a kill signal and immediately wiped from the host system, guaranteeing zero orphaned daemon processes.
License
MIT License