Inev on 9:30 PM 12/16/2023: It seems like the problem's description it supposed to have a capital 'P' rather than lowercase. I was stuck on this for a while.
chf on 3:08 PM 12/23/2023: It doesn't matter if p is small or big, you don't really need it to get a password
dann on 5:48 PM 12/31/2023: the buffer with 30 bytes get's the value "v\J@PPLeRKAB\JV�PB" after that fucntion call. But I can't solve it whyyyyy
HermEr on 7:01 AM 01/20/2024: You do not clear buffer before use it as source string. The password will be different for different systems.
Finaly, I use GDB for take right memory dump.
===
0x76,0x5C,0x4A,0x40,0x50,
0x50,0x4C,0x12,0x65,0x52,0x4B,0x41,0x42,0x5C,0x4A,0x56,0x14,
0xF0,0x50,0x42 // WTF? stack noise?
===