This code curls a page, clones it, and all replaces all actions in the form with a different potentially malicious one.