pub struct SecurityPayloads;Expand description
Built-in security payloads
Implementations§
Source§impl SecurityPayloads
impl SecurityPayloads
Sourcepub fn sql_injection() -> Vec<SecurityPayload>
pub fn sql_injection() -> Vec<SecurityPayload>
Get SQL injection payloads
Sourcepub fn xss() -> Vec<SecurityPayload>
pub fn xss() -> Vec<SecurityPayload>
Get XSS payloads
Sourcepub fn command_injection() -> Vec<SecurityPayload>
pub fn command_injection() -> Vec<SecurityPayload>
Get command injection payloads
Sourcepub fn path_traversal() -> Vec<SecurityPayload>
pub fn path_traversal() -> Vec<SecurityPayload>
Get path traversal payloads
Sourcepub fn ssti() -> Vec<SecurityPayload>
pub fn ssti() -> Vec<SecurityPayload>
Get SSTI payloads
Sourcepub fn ldap_injection() -> Vec<SecurityPayload>
pub fn ldap_injection() -> Vec<SecurityPayload>
Get LDAP injection payloads
Sourcepub fn xxe() -> Vec<SecurityPayload>
pub fn xxe() -> Vec<SecurityPayload>
Get XXE (XML External Entity) payloads
Sourcepub fn get_by_category(category: SecurityCategory) -> Vec<SecurityPayload>
pub fn get_by_category(category: SecurityCategory) -> Vec<SecurityPayload>
Get all payloads for a specific category
Sourcepub fn get_payloads(config: &SecurityTestConfig) -> Vec<SecurityPayload>
pub fn get_payloads(config: &SecurityTestConfig) -> Vec<SecurityPayload>
Get all payloads for configured categories
Sourcepub fn load_custom_payloads(path: &Path) -> Result<Vec<SecurityPayload>>
pub fn load_custom_payloads(path: &Path) -> Result<Vec<SecurityPayload>>
Load custom payloads from a file
Auto Trait Implementations§
impl Freeze for SecurityPayloads
impl RefUnwindSafe for SecurityPayloads
impl Send for SecurityPayloads
impl Sync for SecurityPayloads
impl Unpin for SecurityPayloads
impl UnwindSafe for SecurityPayloads
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more