Skip to content
Rex provides a variety of classes useful for security testing and exploit development.
Branch: master
Clone or download
Latest commit 91918c4 Nov 20, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Fix a typo in the example Sep 4, 2014
lib sync with PR rapid7/rex-socket#11 Nov 20, 2018
.gitignore Add .php and .py meterpreter excludes to gitignore Dec 8, 2015
.mailmap Move @hdm to the former employees section Feb 9, 2016
.ruby-version bump dependencies, rb-readline is now compatible with Ruby 2.4 Jun 16, 2017
Gemfile Merge branch 'master' of Mar 7, 2016
Gemfile.lock bump versions Nov 20, 2018
LICENSE.rex Add a Rex-specific license file to make future merging easier Nov 23, 2015
README.markdown Fix typos Oct 28, 2016
Rakefile.rex Cleanup the rakefile to match Rex's current model Oct 15, 2014



An re-packaging of the Rex library included in the Metasploit Framework for use by non-Metasploit applications. Originally created by Jacob Hammack and made official by the Rapid7 development team. The upstream of this package is the lib/rex subdirectory of

Note that prior to version 2.0.0, the 'rex' gem was an unrelated library developed by Aaron Paterson (@tenderlove).

For users of the prior library (a lexical scanner generator), set your Gemfile to something like the following:

gem 'rex', '< 2.0.0'

This package replaces the librex gem.

$ gem install rex


You can’t perform that action at this time.