Programista on 5:00 PM 02/23/2024: @Spangled
Hi. I don't want to give away too many details here to spoil the fun for others, but I've reached the end of this crackmy, which means I've found what the correct key is and I've deciphered the algorithm that generates the key based on the one given. The only problem I have is to find a string which generates such a correct key, but I'm not asking for a direct answer, I'm just asking for directions which will make it easier to find the right key to enter, because this fixed correct key is a very large number. Thank you very much for any answer and crackme itself is very cool because it allows you to practice or repeat some techniques.
Spangled on 7:57 PM 02/23/2024: also the unhashed version of the key is also a bunch of random numbers, just so u know
Programista on 9:39 PM 02/23/2024: @Spangled
I looked at the code with the information I got and it is indeed a hash function :D. Did I track correctly that the hash function is djb2 ? Because if so, looking for strings that will give the same hash is a challenge or a big luck.
Spangled on 7:53 AM 02/24/2024: yep, you're correct, it is the djb2 hash algorithm.
cnathansmith on 4:15 PM 02/24/2024: @Programista look into how to use a constraint solver like z3
Programista on 1:36 AM 02/25/2024: Thank you very much for your advice and direction. Solved
Spangled on 7:48 AM 02/25/2024: If you have solved it, could you upload the solution? I'm interested in how you solved it.
cnathansmith on 11:28 AM 02/25/2024: He may have. I still have one pending. They take a few days to get reviewed
You must me logged to submit a solution
Solution by cnathansmith: Walk-through with keygen