Sounds like a big part of it would be some script to spider enough of the target site to make a reasonable facsimile, and some scripts to rework forms so that their input is logged and the user is redirected back to the real site.