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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/rex/socket/ssl_tcp.rb +2 -1
- data/lib/rex/socket/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3a7b1d87ee3cdaab06f938e188c8754be58acc8a3d4657809903c1506b5abb5
|
4
|
+
data.tar.gz: 0a920c904aaceac647f5aeadededa5403015b30688860b1a5abc9d449a6272aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0df61fea9d1c6f6cfbc93652cd5dbdaf847bcbf190225c8e31d48b0efbb434f638527da433362e35fb449063e4fd80943deaf822500c11fec3195dca7c0cbeb6
|
7
|
+
data.tar.gz: a3f579f19c40e9e8ff0c744b7a58c1aea4e3361846f6e31c891a53239a1b408bfb768d19c86adeac623392cc80621a0a0bdf45a016d303f530b87a66d479c29e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rex/socket/ssl_tcp.rb
CHANGED
@@ -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
|
data/lib/rex/socket/version.rb
CHANGED
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.
|
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:
|
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
|
-
|
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
|