Non-members can read from here:
It all started on a very lazy and unmotivated afternoon. I just wanted to binge-watch a show and take a nap, but pushed myself to do the work I was supposed to do, solving Portswiggers Web Security labs.
Doing path traversal labs wasn’t the intention, but the file upload ones were. But one of them forced me to learn path traversal as it was needed to solve that.
Well, unwillingly, I kept solving the labs.
There was one thing common in all of them, and that was the lab’s requirement to solve it.
I needed to retrieve the content of the ‘/etc/passwd’ file.