The binary
I was presented with an ELF32 binary with the following protections:
ch77 protections
Disassembling the binary with r2, I quickly recognized a classic stack overflow by abusing the call to read:
There’s a buffer overflow in the read function.