rapid7/metasploit-framework — pull request #844 by wchen-r7 (2012-10-01 22:13:36+00:00)
Title: Add RopDb mixin

This goals of this RopDb mixin is to address the following needs in exploit development:

* More reusable ROP chains in browser exploit development.
* Support two common attack vectors: non-ASLR plugins, or info leaks.
* Simplify ROP maintenance.

Usage is simple. Here's one:

1. Add the mixin:

include Msf::Exploit::RopDb

2. And then generate the ROP payload:

rop_payload = generate_rop_payload('java', payload.encoded)