To run the exploit in our virtual environment, we decided to write a loader in Python which did the following:  For our payload, we wrote a simple bash script which runs id and pipes the result to a file in /tmp.