It clears the PATH environ so that we can’t just run cat but we can simply
pass absolute paths and bypass that. It also applies some filters so that we
can’t use flagsh or tmp in our payload. But we can just base64 encode our
payload and run base64 -d.