← Back
narnia3 | Avishai’s CTF Writeups

Avishai's CTF Writeups

Yalla Balagan! A collection of my CTF writeups and solutions.

View on GitHub

first we can see it doesn’t have ASLR and run protection. alt text

we will use our shellcode shellcode.py and store it in environment variable, then we will find the address of the environment variable using get_address.c

using the script we saw we override the return address after 132, so let’s insert the address of our environment variable.

alt text

Flag: 2xszzNl6uG