Skip to content

Commit 668d605

Browse files
David MaloneyDavid Maloney
authored andcommitted
Land rapid7#7265, rex-mime gemification
lands dev's PR for use of the new rex-mime gem
2 parents 81bc6bd + e36cfa5 commit 668d605

File tree

12 files changed

+10
-989
lines changed

12 files changed

+10
-989
lines changed

Gemfile.lock

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ PATH
3535
redcarpet
3636
rex-arch
3737
rex-java
38+
rex-mime
3839
rex-ole
3940
rex-powershell
4041
rex-random_identifier
@@ -180,7 +181,7 @@ GEM
180181
multi_json (1.12.1)
181182
multi_test (0.1.2)
182183
multipart-post (2.0.0)
183-
nessus_rest (0.1.3)
184+
nessus_rest (0.1.4)
184185
net-ssh (3.2.0)
185186
network_interface (0.0.1)
186187
nokogiri (1.6.8)
@@ -224,15 +225,17 @@ GEM
224225
thor (>= 0.18.1, < 2.0)
225226
rake (11.2.2)
226227
rb-readline-r7 (0.5.2.0)
227-
recog (2.0.21)
228+
recog (2.0.22)
228229
nokogiri
229230
redcarpet (3.3.4)
230231
rex-arch (0.1.1)
231232
rex-text
232233
rex-java (0.1.2)
234+
rex-mime (0.1.1)
235+
rex-text
233236
rex-ole (0.1.2)
234237
rex-text
235-
rex-powershell (0.1.1)
238+
rex-powershell (0.1.64)
236239
rex-random_identifier
237240
rex-text
238241
rex-random_identifier (0.1.0)

lib/rex.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ module Rex
5757
require 'rex/struct2'
5858
# Library for working with OLE
5959
require 'rex/ole'
60+
# Library for creating and/or parsing MIME messages
61+
require 'rex/mime'
6062

6163
# Generic classes
6264
require 'rex/exceptions'

lib/rex/mime.rb

Lines changed: 0 additions & 10 deletions
This file was deleted.

lib/rex/mime/encoding.rb

Lines changed: 0 additions & 17 deletions
This file was deleted.

lib/rex/mime/header.rb

Lines changed: 0 additions & 79 deletions
This file was deleted.

lib/rex/mime/message.rb

Lines changed: 0 additions & 144 deletions
This file was deleted.

lib/rex/mime/part.rb

Lines changed: 0 additions & 50 deletions
This file was deleted.

metasploit-framework.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ Gem::Specification.new do |spec|
132132
spec.add_runtime_dependency 'rex-arch'
133133
# Library for working with OLE.
134134
spec.add_runtime_dependency 'rex-ole'
135+
# Library for creating and/or parsing MIME messages.
136+
spec.add_runtime_dependency 'rex-mime'
135137

136138
# rb-readline doesn't work with Ruby Installer due to error with Fiddle:
137139
# NoMethodError undefined method `dlopen' for Fiddle:Module

spec/lib/rex/mime/encoding_spec.rb

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)