Just finished this one - that was a fun one, especially for a first-time n00b like me.
My generic tips :
- Watch your newline characters!
- Keep the two bits you need to stop you from getting errors, discard the rest, add payload
- Once you’re in keep an eye out for permissions on files, and things that look similar inside
Good luck