Skip to main content

url_shortening_pattern

Function url_shortening_pattern 

Source
pub fn url_shortening_pattern(_url: &str) -> String
Expand description

Generates URL shortening patterns for phishing campaigns.

Useful for EvilJinx and phishing frameworks to generate shortened URL patterns that might bypass detection.

ยงExamples

use redstr::url_shortening_pattern;
let url = "https://example.com/login";
let result = url_shortening_pattern(url);
assert!(result.len() > 0);