rapid7/metasploit-framework — pull request #2961 by Meatballs1 (2014-02-08 11:39:13+00:00)
Title: Implements Post::Common get_env and get_envs

I think this is required for https://github.com/rapid7/metasploit-framework/pull/2782.

We shouldn't be using direct meterpreter calls in post modules, where possible, to try and maintain shell compatibility where possible.