mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-23 07:08:19 +00:00
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:
commit
9c9b96fe1c
@ -31,6 +31,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 11300 (Bitcoin/Litecoin wallet.dat)
|
- 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
|
* 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