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.
//!
//! Communicates with a **localhost-only** `sqlmapapi` daemon (`127.0.0.1`) over
//! sqlmap's native REST API instead of parsing CLI output.
//!
//! ## Features
//!
//! - **Core 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**: Best-effort task and daemon cleanup on drop (requires an active Tokio runtime for task deletion).
//! - **Port conflict detection**: Prevents silent connection to wrong daemons.
//! - **Configurable polling**: Custom intervals and HTTP timeouts.
//!
//! ## Architecture
//!
//! The library spawns `sqlmapapi.py` on `127.0.0.1` and uses HTTP polling to
//! track scan lifecycles. When the engine drops, the daemon subprocess is killed
//! best-effort. When a task drops, it is deleted from the daemon if a Tokio
//! runtime is available.
/// REST API Client Orchestration.
/// Typed Error Variants.
/// Deserialization payloads, options builder, and output formatting.
pub use ;
pub use SqlmapError;
pub use ;