Note: This code was suggested by a LLM (Copilot) in the MR
A lot of this was based on: exploits/unix/webapp/php_eval