[RFC] Carmageddon cheat retrieval - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Misc (https://hashcat.net/forum/forum-15.html) +--- Forum: User Contributions (https://hashcat.net/forum/forum-25.html) +--- Thread: [RFC] Carmageddon cheat retrieval (/thread-10528.html) |
[RFC] Carmageddon cheat retrieval - maarten - 12-16-2021 Hello, Recently we've begun looking into reverse engineering the old venerable Carmageddon game. As part of this, we found hashes of cheat codes in the binary. The game engine applies a hash function on the recent keys and looks into a table for matches. This avoids putting the cheat codes as strings into the binary. I've created a hashcat module to find matches, at https://github.com/madebr/hashcat/tree/carmageddon. I'm interested in feedback about ways to speed it up. The c equivalent of the hashing algorithm can be found below. It only accepts lower case letters [a-z]. Code: #include <ctype.h> |