Challenge Intro:

This level requires you to read the token file, but the code restricts the files that can be read. Find a way to bypass it 🙂

Let’s look at the source code…

Ok, so our file argument need to NOT contain token but we want to read token…

First thought is Symlink…let’s try…

Quick win, nice and easy 🙂

ln -s /home/flag04/token newfile
/home/flag04/flag04 newfile