Skip to content

Commit 8d8e1f8

Browse files
committed
Land rapid7#7102, remove struct2 code in favor of rex-struct2
2 parents b954b6d + c8d0092 commit 8d8e1f8

File tree

12 files changed

+6
-605
lines changed

12 files changed

+6
-605
lines changed

Gemfile.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ PATH
3434
rex-powershell
3535
rex-random_identifier
3636
rex-registry
37+
rex-struct2
3738
rex-text
3839
rex-zip
3940
robots
@@ -224,6 +225,7 @@ GEM
224225
rex-random_identifier (0.1.0)
225226
rex-text
226227
rex-registry (0.1.0)
228+
rex-struct2 (0.1.0)
227229
rex-text (0.1.1)
228230
rex-zip (0.1.0)
229231
rex-text

lib/rex.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ module Rex
5353
require 'rex/registry'
5454
# Library for parsing Java serialized streams
5555
require 'rex/java'
56+
# Library for creating C-style Structs
57+
require 'rex/struct2'
5658

5759
# Generic classes
5860
require 'rex/constants'

lib/rex/struct2.rb

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

lib/rex/struct2/c_struct.rb

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

lib/rex/struct2/c_struct_template.rb

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

lib/rex/struct2/constant.rb

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

lib/rex/struct2/element.rb

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

lib/rex/struct2/generic.rb

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

0 commit comments

Comments
 (0)