pub struct SqlmapOptions {
pub url: Option<String>,
pub test_parameter: Option<String>,
pub dbms: Option<String>,
pub cookie: Option<String>,
pub tech: Option<String>,
pub verbose: Option<i32>,
pub threads: Option<i32>,
pub batch: Option<bool>,
pub headers: Option<String>,
pub risk: Option<i32>,
pub level: Option<i32>,
pub proxy: Option<String>,
}Expand description
Configuration payload mapped directly to SQLMap CLI arguments.
Fields§
§url: Option<String>The target URL
test_parameter: Option<String>Target directly on specific parameter, e.g. “id”
dbms: Option<String>Specific database management system. e.g. “MySQL”
HTTP Cookie header value.
tech: Option<String>Specific payload technqiues to test (B = Boolean blind, T = Time blind, E = Error, U = UNION query, S = Stacked queries).
verbose: Option<i32>Output extraction verbosity level (1-6).
For the API, we usually keep this low since data extraction comes via REST endpoint data.
threads: Option<i32>Number of concurrent workers (default is 1).
batch: Option<bool>Do not ask for user input. Default is true for bot orchestration.
headers: Option<String>HTTP headers to manually pass into the request.
risk: Option<i32>Payload risk (1-3)
level: Option<i32>Level of tests to perform (1-5, default 1)
proxy: Option<String>Use a proxy?
Trait Implementations§
Source§impl Clone for SqlmapOptions
impl Clone for SqlmapOptions
Source§fn clone(&self) -> SqlmapOptions
fn clone(&self) -> SqlmapOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SqlmapOptions
impl Debug for SqlmapOptions
Source§impl Default for SqlmapOptions
impl Default for SqlmapOptions
Source§fn default() -> SqlmapOptions
fn default() -> SqlmapOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SqlmapOptions
impl RefUnwindSafe for SqlmapOptions
impl Send for SqlmapOptions
impl Sync for SqlmapOptions
impl Unpin for SqlmapOptions
impl UnsafeUnpin for SqlmapOptions
impl UnwindSafe for SqlmapOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more