Merge pull request #2496 from philsmd/tests_rm_16800_verify

tests: remove verify code for -m 16800 = WPA-PMKID-PBKDF2
This commit is contained in:
Jens Steube
2020-07-21 11:11:00 +02:00
committed by GitHub
2 changed files with 3 additions and 17 deletions
+1
View File
@@ -31,6 +31,7 @@
- Backend: Changed the maximum number of compute devices from 64 to 128
- Tests: Improved tests for hash-mode 11300 (Bitcoin/Litecoin wallet.dat)
- Tests: Improved tests for hash-mode 16800 (WPA-PMKID-PBKDF2)
* changes v5.1.0 -> v6.0.0
+2 -17
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;