mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-10 15:51:10 +00:00
Fixed spacing
This commit is contained in:
parent
e12ce123c9
commit
a1fa4aa12f
@ -20,7 +20,7 @@ sub module_generate_hash
|
||||
|
||||
my $salt_bin = pack ("H*", $salt);
|
||||
|
||||
my $digest = sha1_hex (encode ("UTF-16LE", uc($word)) . $salt_bin);
|
||||
my $digest = sha1_hex (encode ("UTF-16LE", uc ($word)) . $salt_bin);
|
||||
|
||||
my $hash = sprintf ("0x0100%s%s%s", $salt, "0" x 40, $digest);
|
||||
|
||||
|
@ -33,9 +33,9 @@ sub module_verify_hash
|
||||
|
||||
my ($digest, $word) = split (':', $line);
|
||||
|
||||
my $salt = substr($digest, 6, 8);
|
||||
my $salt = substr ($digest, 6, 8);
|
||||
|
||||
my $hash = substr($digest, 14);
|
||||
my $hash = substr ($digest, 14);
|
||||
|
||||
return unless defined $hash;
|
||||
return unless defined $salt;
|
||||
|
Loading…
Reference in New Issue
Block a user