profdracula on 2:16 PM 11/17/2020: There is a bug in the binary...It will accept even a single character from magic-string as valid key (e.g. W)
profdracula on 2:38 PM 11/17/2020: Though keygen is not needed but I think this was the intended solution:
https://paste.ubuntu.com/p/Jn5TXb68dW/
ghsi10 on 6:09 PM 11/25/2020: its not good to use strcp -- if the password is only 1 char (or even null) it will pass
y33t on 10:14 PM 01/02/2021: I think dracula is right that their code didn't reflect what they expected the challenge to be, but their link doesn't completely solve the intended challenge and will only work in certain cases. There is an additional component in the compare() function that wasn't taken into account in their script. Technically, only the first letter of the generated key is needed, but the intended key is generated with this c program: https://pastebin.com/vB5EWU16
tynkute on 10:12 AM 01/07/2021: yes, sorry, I noticed this little error too late.
jimsktsmith on 11:49 AM 11/17/2021: wtf
key :Wait, your name isroot
nice key =))