1
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:
Gabriele Gristina 2020-12-11 14:33:45 +01:00
parent ba82dd235c
commit 731cb1c9bc

View File

@ -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;
}