Exploit Exercises — Protostar — Stack Levels
Exploit Exercises’ Protostar wargame includes a number of carefully prepared exercises to help hone your basic exploitation skills. In this walkthrough I will go over the stack exploitation portion of the wargame.
Spoiler Warning: I would highly recommend you to go over the exercises yourself and come back to this article to find possibly different solutions or in case you get stuck.
The first exercise challenges you to modify the value of a local variable: