This gem is a Metasploit-specific gem that contains all of the Meterpreter payloads (except for Mettle). This is made up of:
- Windows DLLs
- Java Classes
- PHP/Python Scripts
Mettle, the Native Linux / Posix payload, currently is developed at https://github.com/rapid7/mettle (to be moved here at some point?)
Given the nature of the contents of this gem, installation outside of Metasploit is not advised. To use Meterpreter, download and install Metasploit itself.
To build the gem:
- Update the version number in
rake win_prepto build on Windows
rake java_prepto build Java files
rake php_prepto copy the latest PHP/Python meterpreter files into place
- Binaries will be built in the
rake buildto generate the new gem file using content in meterpreter folder.
rake releaseto release the binary to RubyGems.
Note, when using the command
rake win_prep and related Windows rake
tasks, you must be in the Visual Studio Developer command prompt,
and have a path to a git binary in your default path. If your
git.exe is part of posh-git or GitHub for Windows, that means adding
something like the following to your path: