Pheonix stack-one write-up


This level is the same as the previous level but here we  will overflow locals.changeme with this address 0x496c5962 so we will approach this problem the same as stack-zero here’s a picture of the source code 

here they introduce the concept of endianness of the architecture the reader should at least the difference between little endian and big endian.


I approached this the same as before so first i calculated the address of the start of the buffer starts at 

and the address of locals.changeme starts at $rbp-0x10 which is 0x7fffffffe600 we already discussed how to get these address in the previous write-up, here’s the final solution 

I hope you enjoyed my write-up any comment or suggest is appreciated you can contact me via my e-mail address:

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s