pub struct TransformBuilder { /* private fields */ }Expand description
Creates a transformer builder for chaining multiple transformations.
§Examples
use redstr::TransformBuilder;
let result = TransformBuilder::new("test")
.leetspeak()
.base64()
.build();
assert!(result.len() > 0);Implementations§
Source§impl TransformBuilder
impl TransformBuilder
Sourcepub fn url_encode(self) -> Self
pub fn url_encode(self) -> Self
Applies URL encoding.
Sourcepub fn homoglyphs(self) -> Self
pub fn homoglyphs(self) -> Self
Applies homoglyph substitution.
Sourcepub fn hex_encode(self) -> Self
pub fn hex_encode(self) -> Self
Applies hex encoding.
Sourcepub fn advanced_domain_spoof(self) -> Self
pub fn advanced_domain_spoof(self) -> Self
Applies advanced domain spoofing (for EvilJinx).
Sourcepub fn email_obfuscation(self) -> Self
pub fn email_obfuscation(self) -> Self
Applies email obfuscation (for EvilJinx).
Sourcepub fn powershell_obfuscate(self) -> Self
pub fn powershell_obfuscate(self) -> Self
Applies PowerShell obfuscation (for Windows pentesting).
Sourcepub fn bash_obfuscate(self) -> Self
pub fn bash_obfuscate(self) -> Self
Applies bash obfuscation (for Linux pentesting).
Sourcepub fn cloudflare_challenge(self) -> Self
pub fn cloudflare_challenge(self) -> Self
Applies Cloudflare challenge variation.
Sourcepub fn cloudflare_turnstile(self) -> Self
pub fn cloudflare_turnstile(self) -> Self
Applies Cloudflare Turnstile challenge variation.
Sourcepub fn cloudflare_challenge_response(self) -> Self
pub fn cloudflare_challenge_response(self) -> Self
Applies Cloudflare challenge response pattern.
Sourcepub fn graphql_obfuscate(self) -> Self
pub fn graphql_obfuscate(self) -> Self
Applies GraphQL obfuscation (for Caido).
Auto Trait Implementations§
impl Freeze for TransformBuilder
impl RefUnwindSafe for TransformBuilder
impl Send for TransformBuilder
impl Sync for TransformBuilder
impl Unpin for TransformBuilder
impl UnwindSafe for TransformBuilder
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