Rating:

Please, do not write just a link to original writeup here.

Original writeup (https://ethicalhackers.club/wpictf-2018-write-up/#shell-jail-2).