mirror of
https://github.com/hashcat/hashcat
synced 2025-01-07 02:16:23 +01:00
add missing md5 step to test module
This commit is contained in:
parent
ba82dd235c
commit
731cb1c9bc
@ -26,7 +26,9 @@ sub module_generate_hash
|
||||
$cost = $iter;
|
||||
}
|
||||
|
||||
my $hash = bcrypt ($word, sprintf ('$2a$%s$%s$', $cost, en_base64 ($salt)));
|
||||
my $md5_word = md5_hex ($word);
|
||||
|
||||
my $hash = bcrypt ($md5_word, sprintf ('$2a$%s$%s$', $cost, en_base64 ($salt)));
|
||||
|
||||
return $hash;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user