![]() |
4.01 ERROR "Restore value is greater than keyspace" after pause/checkpoint - 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: 4.01 ERROR "Restore value is greater than keyspace" after pause/checkpoint (/thread-7053.html) |
4.01 ERROR "Restore value is greater than keyspace" after pause/checkpoint - Boing - 11-27-2017 Hello. Have error "Restore value is greater than keyspace" after trying to resume session "my". But haven't if make that after 5-10 minutes after first start. If it will work 1-2-3 hours, after that will paused+resumed or checkpointed+resumed, i will get error. Basic info: Code: * Device #1: This hardware has outdated CUDA compute capability (3.0). Code: OpenCL Platform #1: NVIDIA Corporation my start batch: Code: hashcat64.exe -a 3 -m 1500 SOme1.1HasHes --session my my resume batch: Code: hashcat64.exe --session my --restore Thanks and regards! (sorry for my English, google translate used) RE: 4.01 ERROR "Restore value is greater than keyspace" after pause/checkpoint - philsmd - 11-27-2017 Thank you for this report. I can reproduce this. We probably will need to open a github issue to track this problem. The problem seems to be that the mask position (see https://hashcat.net/wiki/doku.php?id=restore) is reset from 7 (which actually means mask 7+1 = 8 because the index starts at 0) to 0. This reset is wrong. After mask pos was reset, hashcat tries to run the first mask with a very high word_cur value, which of course gives the "Restore value is greater than keyspace." error. So the error is correct, but the reset of the mask pos is not correct. That seems to be a bug. This line seems to be the culprit: https://github.com/hashcat/hashcat/blob/04a30e6071b99b9b26ca156db7239a84a602b70c/src/hashcat.c#L769 I will discuss this with @atom and see if we can find a proper fix for it. RE: 4.01 ERROR "Restore value is greater than keyspace" after pause/checkpoint - Boing - 11-28-2017 Thank You for reply. So it will patch between versions or new build of HashCat? It is enough to wait changes here in the topic? RE: 4.01 ERROR "Restore value is greater than keyspace" after pause/checkpoint - philsmd - 11-28-2017 We already have some good news. The problem was addressed and fixed with these source code changes: https://github.com/hashcat/hashcat/commit/42d1db42947854311028e5c25b91e9af2d154a49 The new beta, that you can as always download here https://hashcat.net/beta/ , already ships with the fixed version. Please test it. In theory you could even modify your old my.restore file with analyze_hc_restore (see https://github.com/philsmd/analyze_hc_restore) to set the masks_pos again to 7 (instead of 0), by using this instructions: Code: perl analyze_hc_restore.pl -M 7 my.restore This approach of course is only needed if the .restore file was not correct/corrupted. This problem shouldn't happen in the future thanks to your problem report. Cheers RE: 4.01 ERROR "Restore value is greater than keyspace" after pause/checkpoint - Boing - 11-28-2017 Hello. Thank you for your prompt response. Firstly i tried to fix my.restore with your instructions, installed latest ActivePerl (windows version). But after executing command, get error: Code: T:\hashcat-4.0.1>perl analyze_hc_restore.pl -M 7 my.restore After i made checkpoint and successfully restarted job. So all OK. Thank you for support! Regards! RE: 4.01 ERROR "Restore value is greater than keyspace" after pause/checkpoint - philsmd - 11-28-2017 oh. you tried to run the downloaded github project page as a perl file. This is not how it works. You need to download the perl script (text file) from https://raw.githubusercontent.com/philsmd/analyze_hc_restore/master/analyze_hc_restore.pl The html of github won't run as valid perl code. hehe RE: 4.01 ERROR "Restore value is greater than keyspace" after pause/checkpoint - Boing - 11-28-2017 lol. Awesome fail) Thx) (I never used Perl so don't know file format) RE: 4.01 ERROR "Restore value is greater than keyspace" after pause/checkpoint - magnum - 11-30-2017 Lol! Kudos for faling to run a perl script, yet succeeding in manually hacking a binary file 😆👍 |