rex-socket 0.1.42 → 0.1.44

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: 8c974381f24cec613ac286cfdf087d06300259cb1bac5fdffd9f8bfebe957cfc
4
- data.tar.gz: 0a68ddf4364d461c76d7313cd970a48a6cff428bf6144bf98c6c2f3f35e31346
3
+ metadata.gz: d3a7b1d87ee3cdaab06f938e188c8754be58acc8a3d4657809903c1506b5abb5
4
+ data.tar.gz: 0a920c904aaceac647f5aeadededa5403015b30688860b1a5abc9d449a6272aa
5
5
  SHA512:
6
- metadata.gz: 7378078d5e99e6026d87a2962a9dc6d5897895899ff13df8df5d5f493213161360bc6e080c99ef8a0749b86e1f70a14034c459eb07d8fc2e240999e8585c7050
7
- data.tar.gz: 555e434640080189bd39140d5195411bfc426efe493cdc77978b07d2c08ee8cf664a1e3581a8981978707855c0eb78a739b13bcb6f6edc7ea52976727c23f22d
6
+ metadata.gz: 0df61fea9d1c6f6cfbc93652cd5dbdaf847bcbf190225c8e31d48b0efbb434f638527da433362e35fb449063e4fd80943deaf822500c11fec3195dca7c0cbeb6
7
+ data.tar.gz: a3f579f19c40e9e8ff0c744b7a58c1aea4e3361846f6e31c891a53239a1b408bfb768d19c86adeac623392cc80621a0a0bdf45a016d303f530b87a66d479c29e
checksums.yaml.gz.sig CHANGED
Binary file
@@ -109,6 +109,7 @@ begin
109
109
  end
110
110
 
111
111
  self.sslctx.options = OpenSSL::SSL::OP_ALL
112
+ self.sslctx.options |= OpenSSL::SSL::OP_LEGACY_SERVER_CONNECT
112
113
 
113
114
  if params.ssl_cipher
114
115
  self.sslctx.ciphers = params.ssl_cipher
@@ -126,7 +127,7 @@ begin
126
127
  # If peerhostname is set, or if hostname looks like a hostname, set the undocumented 'hostname'
127
128
  # attribute on sslsock, which enables the Server Name Indication (SNI)
128
129
  # extension
129
- if self.peerhostname
130
+ if self.peerhostname and not self.peerhostname.strip.empty?
130
131
  self.sslsock.hostname = self.peerhostname
131
132
  elsif !Rex::Socket.dotted_ip?(self.peerhost)
132
133
  self.sslsock.hostname = self.peerhost
@@ -1,5 +1,5 @@
1
1
  module Rex
2
2
  module Socket
3
- VERSION = "0.1.42"
3
+ VERSION = "0.1.44"
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-socket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.42
4
+ version: 0.1.44
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: 2022-08-31 00:00:00.000000000 Z
96
+ date: 2023-01-10 00:00:00.000000000 Z
97
97
  dependencies:
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: rake
@@ -193,8 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
195
  requirements: []
196
- rubyforge_project:
197
- rubygems_version: 2.7.10
196
+ rubygems_version: 3.1.4
198
197
  signing_key:
199
198
  specification_version: 4
200
199
  summary: The Ruby Exploitation (Rex) Socket Abstraction Library.
metadata.gz.sig CHANGED
Binary file