mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-16 17:42:04 +00:00
tests: remove verify code for -m 16800 = WPA-PMKID-PBKDF2
This commit is contained in:
parent
1dd43686cc
commit
077083c6c5
@ -30,6 +30,7 @@
|
|||||||
##
|
##
|
||||||
|
|
||||||
- Backend: Changed the maximum number of compute devices from 64 to 128
|
- 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
|
* changes v5.1.0 -> v6.0.0
|
||||||
|
|
||||||
|
@ -62,24 +62,9 @@ sub module_generate_hash
|
|||||||
|
|
||||||
sub module_verify_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);
|
exit (1);
|
||||||
|
|
||||||
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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
Loading…
Reference in New Issue
Block a user