Haystack

okay been K***** for a while now and I am RTFM for the 3 files but I am clueless on how this helps…

Edit: I think I am on the right track but don’t want to post any spoilers if someone wants to DM me to confirm?
Edt2: Once again over thinking. I am 99% there (my reverse shell keeps failing with ambiguous redirect)
Edit3: tried a different reverse shell and ROOT! hardest machine for me yet, but I learned a lot!