Solution for pwnEd 2 simulation challenge Writeup here The code is explained in the writeup. Simply cargo run, and you'll get the flag :)