l4w.pw PHP challenge

Hej,

I stumbled upon this fun little PHP challenge but have been struggling:

https://twitter.com/l4wio/status/963364344812613632

I managed to get remote code execution but can’t manage to connect to localhost:8888.

Netcat seems to be install but returns error code 127 when called.

Anyone willing to crack this one with me?