rex-mime 0.1.6 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b95e8f357b01733786eb6b02df7d8b75a9264ef9d591d01f74633fed92a43ca
4
- data.tar.gz: cf9df4ea4e349a6d106c75df1b623c72f4ff1466789540dfbed2ca63547aae18
3
+ metadata.gz: c49d8f9e8b0bc73b61b13dc0b759dd4bb23202dd6de2d21e5f3fb881dca546f7
4
+ data.tar.gz: d3968b3f3e2329e8b8404ba781a1be57b1790cd724f0817d3c17dad7929b7a9a
5
5
  SHA512:
6
- metadata.gz: 8b1d0172d3e5569438b55e13fa1fcd0465ebc3c454bfde1c131bb5d71583a1dc0c91593539c0565748a959bd97448f2b635d3ffa179a073d20833e77428b00e9
7
- data.tar.gz: b87273defd2ca64116eaa99b59fbf392e4cad64318893ac942b149f4e530362987444dc96abc46099f5db3c2da78c159b84bb560a4840182abab73732aa85af8
6
+ metadata.gz: 6a152cfeaadd33ece55dd8f7fc926174bb1ae84214eafce2d86d72589fe73c949b5868eab8a8691eccc4ec548fad58ee1c9dbaac6718d88925720b07423431e2
7
+ data.tar.gz: a527e6a0df51f06231e76917909a12633f08692dfb59f15d8a32bf93bbc8bd458c1ae22f3c8db7de8334ed3b876eca68f3976a922834dbaecd64dccb0eeafb9f
checksums.yaml.gz.sig CHANGED
Binary file
data/cortex.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ info:
3
+ title: Rex Mime
4
+ description: Rex Library for creating and/or parsing MIME messages
5
+ x-cortex-git:
6
+ github:
7
+ alias: r7org
8
+ repository: rapid7/rex-mime
9
+ x-cortex-tag: rex-mime
10
+ x-cortex-type: service
11
+ x-cortex-domain-parents:
12
+ - tag: metasploit
13
+ openapi: 3.0.1
14
+ servers:
15
+ - url: "/"
@@ -15,8 +15,8 @@ class Message
15
15
 
16
16
  def initialize(data=nil)
17
17
  self.header = Rex::MIME::Header.new
18
- self.parts = []
19
- self.bound = "_Part_#{rand(1024)}_#{rand(0xffffffff)}_#{rand(0xffffffff)}"
18
+ self.parts = []
19
+ self.bound = "---------------------------#{Rex::Text::rand_text_numeric(30)}"
20
20
  self.content = ''
21
21
  if data
22
22
  head,body = data.split(/\r?\n\r?\n/, 2)
@@ -1,5 +1,5 @@
1
1
  module Rex
2
2
  module Mime
3
- VERSION = "0.1.6"
3
+ VERSION = "0.1.8"
4
4
  end
5
5
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rex-mime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Metasploit Hackers
@@ -93,7 +93,7 @@ cert_chain:
93
93
  EknWpNgVhohbot1lfVAMmIhdtOVaRVcQQixWPwprDj/ydB8ryDMDosIMcw+fkoXU
94
94
  9GJsSaSRRYQ9UUkVL27b64okU8D48m8=
95
95
  -----END CERTIFICATE-----
96
- date: 2020-11-30 00:00:00.000000000 Z
96
+ date: 2023-10-04 00:00:00.000000000 Z
97
97
  dependencies:
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: rake
@@ -154,6 +154,7 @@ files:
154
154
  - Rakefile
155
155
  - bin/console
156
156
  - bin/setup
157
+ - cortex.yaml
157
158
  - lib/rex/mime.rb
158
159
  - lib/rex/mime/encoding.rb
159
160
  - lib/rex/mime/header.rb
@@ -179,8 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
180
  - !ruby/object:Gem::Version
180
181
  version: '0'
181
182
  requirements: []
182
- rubyforge_project:
183
- rubygems_version: 2.7.10
183
+ rubygems_version: 3.1.4
184
184
  signing_key:
185
185
  specification_version: 4
186
186
  summary: This library is for creating and/or parsing MIME messages.
metadata.gz.sig CHANGED
Binary file