duck-cord
Challenge
A chat service where messages from user 0000, the system user, are the ones that matter.
Approach
The input reads into a number buffer with no length check, and msgs sits right next to it. A long enough line runs past the number buffer and into msgs.
Solution
Send 40 bytes to overflow into the number field:
| |