3 releases
0.1.2 | Feb 28, 2024 |
---|---|
0.1.1 | Feb 28, 2024 |
0.1.0 | Feb 28, 2024 |
#856 in Authentication
5KB
54 lines
Wordlist Generator API
Wordlist Generator API is a Rust library for generating brute-force passwords based on custom keywords.
Installation
Add this to your Cargo.toml
:
[dependencies]
wordlist_generator_api = "0.1.2"
Usage
use wordlist_generator_api::BruteForceGenerator;
fn main() {
// Create a new generator
let generator = BruteForceGenerator::new();
// Define custom keywords
let custom_keywords = vec!["user".to_string(), "password".to_string()];
// Generate passwords
let passwords = generator.generate(8, &custom_keywords);
// Print generated passwords
for password in passwords {
println!("{}", password);
}
}
Dependencies
~310KB