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:
parent
db2e7d1391
commit
4b2c70bd82
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user