Writing the Python exploit