pub struct SqlmapEngine { /* private fields */ }Expand description
Manages the sqlmapapi lifecycle and provides access to its REST API.
Implementations§
Source§impl SqlmapEngine
impl SqlmapEngine
Sourcepub async fn new(
port: u16,
spawn_local: bool,
binary_path: Option<&str>,
) -> Result<Self, SqlmapError>
pub async fn new( port: u16, spawn_local: bool, binary_path: Option<&str>, ) -> Result<Self, SqlmapError>
Launches a local sqlmapapi daemon on a specific port, or connects to an existing remote one.
Sourcepub async fn create_task(
&self,
options: &SqlmapOptions,
) -> Result<SqlmapTask<'_>, SqlmapError>
pub async fn create_task( &self, options: &SqlmapOptions, ) -> Result<SqlmapTask<'_>, SqlmapError>
Creates and configures a new scanning task, returning an RAII wrapper.
Source§impl SqlmapEngine
impl SqlmapEngine
Sourcepub fn is_available() -> bool
pub fn is_available() -> bool
Check if sqlmapapi is available on this system.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SqlmapEngine
impl !RefUnwindSafe for SqlmapEngine
impl Send for SqlmapEngine
impl Sync for SqlmapEngine
impl Unpin for SqlmapEngine
impl UnsafeUnpin for SqlmapEngine
impl !UnwindSafe for SqlmapEngine
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