Skip to content

Commit 85937ab

Browse files
David MaloneyDavid Maloney
authored andcommitted
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
1 parent f9f47f7 commit 85937ab

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

lib/rex.rb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,22 @@ module Rex
3838
LogSource = "rex"
3939
end
4040

41+
#
42+
# REX Gems
43+
#
44+
# Text manipulation library for things like generating random string
45+
require 'rex/text'
46+
# Library for Generating Randomized strings valid as Identifiers such as variable names
47+
require 'rex/random_identifier'
48+
# library for creating Powershell scripts for exploitation purposes
49+
require 'rex/powershell'
50+
# Library for processing and creating Zip compatbile archives
51+
require 'rex/zip'
52+
# Library for parsing offline Windows Registry files
53+
require 'rex/registry'
54+
# Library for parsing Java serialized streams
55+
require 'rex/java'
56+
4157
# Generic classes
4258
require 'rex/constants'
4359
require 'rex/exceptions'

0 commit comments

Comments
 (0)