Correct calculation of the final keyspace - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Support (https://hashcat.net/forum/forum-3.html) +--- Forum: hashcat (https://hashcat.net/forum/forum-45.html) +--- Thread: Correct calculation of the final keyspace (/thread-10714.html) |
Correct calculation of the final keyspace - clearwater - 04-10-2022 Hello, I would like to know how exactly to calculate the "final keyspace". Unfortunately, I can't get any further with the information in the wiki. The wiki tells me, if the number of base-words < sum of all GPU-power, then the final keyspace is reached. GPU-power for each device is calculated with S * T * N * V I am testing hashcat with a Quadro P1000 (mobile) and an i7-8750H with UHD Graphics 630. For the P1000 I get the following info: Code: * Device #1: Quadro P1000, 3385/4096 MB, 4MCU S = 4 (MCU) T = 256 (because it's Nvidia) N = 8 (Accel) V = 1 (Vec) For the i7 I get: Code: * Device #4: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz, 32565/65195 MB (8149 MB allocatable), 12MCU T = ? N = 512 V = 4 For the UHD Graphics I get: Code: * Device #3: Intel(R) UHD Graphics 630, 12992/26078 MB (2047 MB allocatable), 24MCU T = ? N = 64 V = 1 For a test I run the following commands: Code: .\hashcat.exe -a 3 -m 9600 ?l?l?l?l --keyspace But how do I get the remaining number of words in the base loop during the attack? During execution, between 427,008 and 436,235 tested passwords, I get the message "Approaching final keyspace - workload adjusted". Can someone help me to complete my calculation? Am I correct in the assumptions I have made so far? Thanks for reply! RE: Correct calculation of the final keyspace - philsmd - 04-16-2022 maybe this helps in understanding when this event is triggered: https://github.com/hashcat/hashcat/blob/2f4003cded144c7264605850e5227d63e77c74be/src/dispatch.c#L121-L131 The "final keyspace" is basically just the last "flush" of the remaining "words" (not a full load as before/normally, usually) |