Small whitepaper discussing how to use payload rewriting to exploit remote buffer overflow vulnerabilities.
You can download it from the following link: https://packetstormsecurity.com/files/download/47622/payload-rewrite_exploit.txt
Source: https://packetstormsecurity.com/files/47622/payload-rewrite_exploit.txt.html