1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-26 08:28:20 +00:00

make sure $u_pass is initialized

This commit is contained in:
Your Name 2021-08-20 11:54:39 +02:00
parent db2e7d1391
commit 4b2c70bd82

View File

@ -155,6 +155,11 @@ sub module_generate_hash
$enc = ($R == 3) ? 1 : random_number (0, 1);
}
if (!defined $u_pass)
{
$u_pass="";
}
my $padding;
for (my $i = 0; $i < 32; $i++)