mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-23 00:28:11 +00:00
Fix benchmark_deep.pl for -m 22000 and -m 22001
This commit is contained in:
parent
81903e95ee
commit
2110bd2b24
@ -35,7 +35,7 @@ else
|
|||||||
system ("nvidia-smi -rac");
|
system ("nvidia-smi -rac");
|
||||||
system ("nvidia-smi -pm ENABLED");
|
system ("nvidia-smi -pm ENABLED");
|
||||||
system ("nvidia-smi -acp UNRESTRICTED");
|
system ("nvidia-smi -acp UNRESTRICTED");
|
||||||
system ("nvidia-smi -pl 1"); ## needs per-gpu adjust
|
system ("nvidia-smi -pl 225"); ## needs per-gpu adjust
|
||||||
system ("nvidia-settings -a GPUPowerMizerMode=1 -a GPUFanControlState=1 -a GPUTargetFanSpeed=100");
|
system ("nvidia-settings -a GPUPowerMizerMode=1 -a GPUFanControlState=1 -a GPUTargetFanSpeed=100");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -433,7 +433,14 @@ sub get_module
|
|||||||
|
|
||||||
if ($line =~ /OPTS_TYPE_BINARY_HASHFILE/)
|
if ($line =~ /OPTS_TYPE_BINARY_HASHFILE/)
|
||||||
{
|
{
|
||||||
$is_binary = 1;
|
if (($hash_type == 22000) || ($hash_type == 22001))
|
||||||
|
{
|
||||||
|
## problem while in -m 2500 backward compatiblity mode
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$is_binary = 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($line =~ /ST_HASH *= \"(.*)\"/)
|
if ($line =~ /ST_HASH *= \"(.*)\"/)
|
||||||
|
Loading…
Reference in New Issue
Block a user