school system [PWN]

Overwrite Variable Challenge

Chall

Let`s read source code of Program

now this challenge it easy you have 2 input aa and bb

here is compare if cc have anything execute /bin/sh

use bb input to overwrite cc input and when overwrite cc variable you get shell

let`s create script

now run the script
🎉

thank you for reading my writeup.

Last updated