Skip to main content

html_input_type_variation

Function html_input_type_variation 

Source
pub fn html_input_type_variation(input_type: &str) -> String
Expand description

Generates HTML input type attribute variations for input validation bypass testing.

Useful for red team input type bypass and blue team validation testing.

ยงExamples

use redstr::html_input_type_variation;
let input_type = "password";
let result = html_input_type_variation(input_type);
assert!(result.len() > 0);