Brain server can't write above 4GB - 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: Brain server can't write above 4GB (/thread-9269.html) Pages:
1
2
|
RE: Brain server can't write above 4GB - philsmd - 05-31-2020 Yeah this seems to be exactly the case. I also did some further checks. What is weird is that this is neither documented, nor mentioned a lot. I also tested that the type of the passed numbers (size_t) can't really be the culprit, it's still way too small and furthermore size_t is unsigned numbers and therefore even "double the size". I've come up with this diff that works for me perfectly fine: Code: diff --git a/src/filehandling.c b/src/filehandling.c only if the operating system windows (the exe executable) is used, the fread () and fwrite () looping is performed IF and ONLY if the size written is larger than 4 GB. I also tested to restart the server and to re-run the same attack and the backups are loaded correctly and the server detects all previous work correctly on my windows 10 test system. Do you have any means to test this diff ? compile the modified source code with the instructions as mentioned on github (BUILD_MSYS2.md) after running git apply this_patch_file.diff RE: Brain server can't write above 4GB - illyria - 06-01-2020 (05-31-2020, 09:15 PM)philsmd Wrote: Do you have any means to test this diff ? compile the modified source code with the instructions as mentioned on github (BUILD_MSYS2.md) after running git apply this_patch_file.diff I might be out of my depth, but I will give it a try tomorrow morning RE: Brain server can't write above 4GB - philsmd - 06-01-2020 it's actually not a problem if you can't manage to test this patch... it would just make sense to test it further before we include it into the beta versions. I will probably do some more tests and if everything seems correct I will create a pull request (PR) on github (https://github.com/hashcat/hashcat). After the changes are merged a beta will be available at https://hashcat.net/beta/ (not yet merged of course) update: I've opened a pull request on github here: https://github.com/hashcat/hashcat/pull/2427 , let's see if it gets accepted and merged (still no beta available) update 2: new beta is available that includes the fix: https://hashcat.net/beta/ . Please test. thx RE: Brain server can't write above 4GB - illyria - 06-03-2020 Read and write was successful on a 7+GB ldmp. Created a new database from scratch and wrote 4+GB to it. Test from my POV was successful. Thanks a lot for the quick response and turn-around on the fix. |