Challenge description
Smash the stack Let’s start off simple, can you overflow the correct buffer? The program is available here. You can view source here. And connect with it using: nc saturn.picoctf.net 65445
Category: Binary Exploitation
Solution
This is a very basic buffer overflow challenge. Let’s look at the program’s source code:

Reading this, and knowing that a buffer overflow will cause a segmentation fault, my intuition is that the flag will be printed out in the event of a segmentation fault. Let’s keep going.

Simple enough, I’ll just throw 101 characters at the program. You can type it out or use any method of generating random text.
And like that, the flag is ours
