1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! # Sqlmap-RS
//!
//! An asynchronous, strictly-typed Rust wrapper for the `sqlmapapi` REST Server.
//!
//! Provides a panic-free API for orchestrating SQL injection scans using the
//! world's most powerful detection engine. Instead of parsing messy CLI outputs,
//! this library communicates via sqlmap's native REST API.
//!
//! ## Features
//!
//! - **Full API coverage**: start, stop, kill, log, data, option introspection.
//! - **Builder pattern**: Fluent `SqlmapOptions::builder()` with 40+ sqlmap options.
//! - **Multi-format output**: JSON, CSV, Markdown, and plain text.
//! - **RAII cleanup**: Tasks and daemon processes are cleaned up on drop.
//! - **Port conflict detection**: Prevents silent connection to wrong daemons.
//! - **Configurable polling**: Custom intervals and HTTP timeouts.
//!
//! ## Architecture
//!
//! The library spawns `sqlmapapi.py` under a Tokio background thread and uses
//! HTTP polling to track scan lifecycles. When the engine drops, the daemon
//! is killed. When a task drops, it is deleted from the daemon.
/// REST API Client Orchestration.
/// Typed Error Variants.
/// Deserialization payloads, options builder, and output formatting.
pub use SqlmapEngine;
pub use SqlmapError;
pub use ;