Crates.io | wordlist_generator_api |
lib.rs | wordlist_generator_api |
version | 0.1.2 |
source | src |
created_at | 2024-02-28 11:15:29.814438 |
updated_at | 2024-02-28 11:21:15.547105 |
description | wordlist generator API is a Rust library for generating brute-force passwords based on custom keywords. |
homepage | |
repository | |
max_upload_size | |
id | 1156341 |
size | 6,890 |
Wordlist Generator API is a Rust library for generating brute-force passwords based on custom keywords.
Add this to your Cargo.toml
:
[dependencies]
wordlist_generator_api = "0.1.2"
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);
}
}