1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-21 23:58:07 +00:00

tests: remove verify code for -m 16800 = WPA-PMKID-PBKDF2

This commit is contained in:
philsmd 2020-07-21 10:49:42 +02:00
parent 1dd43686cc
commit 077083c6c5
No known key found for this signature in database
GPG Key ID: 4F25D016D9D6A8AF
2 changed files with 3 additions and 17 deletions

View File

@ -30,6 +30,7 @@
##
- Backend: Changed the maximum number of compute devices from 64 to 128
- Tests: Improved tests for hash-mode 16800 (WPA-PMKID-PBKDF2)
* changes v5.1.0 -> v6.0.0

View File

@ -62,24 +62,9 @@ sub module_generate_hash
sub module_verify_hash
{
my $line = shift;
print "ERROR: verify currently not supported for WPA-PMKID-PBKDF2 (because of hashcat's output format)\n";
my ($hash, $word) = split (':', $line);
return unless defined $hash;
return unless defined $word;
my @data = split (/\:/, $hash);
return unless scalar @data == 4;
my (undef, $macap, $macsta, $essid) = @data;
my $word_packed = pack_if_HEX_notation ($word);
my $new_hash = module_generate_hash ($word_packed, undef, $macap, $macsta, $essid);
return ($new_hash, $word);
exit (1);
}
1;