Struct cracker::Cracker
[−]
[src]
pub struct Cracker { /* fields omitted */ }
The Cracker struct is the main gateway into the cracker API
Methods
impl Cracker
[src]
fn new(h_file: File, w_file: File, p_pot: String) -> Self
Create a new Cracker where h_file is the hashfile you want to crack, w_file is the wordlist that you want to work with and p_pot is the password pot that cracked passwords are saved to
Examples
let cracker = Cracker::new(hash_file, wordlist_file, "password.pot");
fn run(&self, number_threads: usize, mangler: fn(_: String) -> Vec<String>)
Runs the cracker that you have created where number_threads is the number of threads to use and mangler is the function that you want to mangle words with
Examples
let cracker = Cracker::new(hash_file, wordlist_file, "password.pot"); cracker.run(4, some_mangling_function);