From 85937ab83939163d7b6063d057ab8b63fb00037c Mon Sep 17 00:00:00 2001 From: David Maloney Date: Tue, 5 Jul 2016 10:33:45 -0500 Subject: [PATCH] require new gems inside rex.rb have the root rex namespace require the new rex gems to prevent broken requires when things greedily require all of rex --- lib/rex.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/lib/rex.rb b/lib/rex.rb index 8e9b2788b5..bf29833248 100644 --- a/lib/rex.rb +++ b/lib/rex.rb @@ -38,6 +38,22 @@ module Rex LogSource = "rex" end +# +# REX Gems +# +# Text manipulation library for things like generating random string +require 'rex/text' +# Library for Generating Randomized strings valid as Identifiers such as variable names +require 'rex/random_identifier' +# library for creating Powershell scripts for exploitation purposes +require 'rex/powershell' +# Library for processing and creating Zip compatbile archives +require 'rex/zip' +# Library for parsing offline Windows Registry files +require 'rex/registry' +# Library for parsing Java serialized streams +require 'rex/java' + # Generic classes require 'rex/constants' require 'rex/exceptions'