rapid7/metasploit-framework — pull request #893 by jlee-r7 (2012-10-12 08:16:57+00:00)
Title: Add a mixin for uploading/executing bins with PHP

And use it in three modules that had copy-paste versions of the same
idea.

Lots of exploits do something very similar to this. We should go through and gouge out the copy-paste.