Nebula (Level 01) : Writeup

By Homeless | Linux, Writeups
January 10, 2018 0 Comments

Last exploit is very sample that just search the user permission access file and run it. But in this level01 we found another c program are give below with description.

Description

level01.c

The system function call the echo function so that to give output to user after the environment.

Try to run the compile file.it show the message “and now what?”

OK. So where is echo running under the system env.

i know echo is under /bin. Ok. let’s check the environment of system.

so echo is under /bin from env process and test again for sure.

Yes.Work. OK Let’s change echo function path to exploit.

Export the echo path.

And run it!.

Bango! I can do it again. Thanks for reading . Happy Hacking.

Leave a Reply:

Your email address will not be published. Required fields are marked *