AnwarMohamed/metasploit-framework — pull request #4 by jvennix-r7 (2014-07-30 07:20:17+00:00)
Title: Rebuilt Android bins, remove store_loot calls

Hi Anwar, after some discussion adding `store_loot` was the wrong advice here. This is because it requires making framework a real dependency of Meterpreter's command dispatcher, which we are not set up to do right now. Long-term it looks like we will eventually move all commands like this to post modules, but for now reverting to the file-write-in-cwd solution is best for consistency.

I've reverted your changes and added the File.write calls back, and added a timestamp filename. I also removed Rex::Compat#open calls, they need to be guarded by a flag at least.

Once this change is landed I'll test again, thanks.