rex-socket 0.1.15 → 0.1.16
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.tar.gz.sig +0 -0
- data/lib/rex/socket.rb +2 -1
- data/lib/rex/socket/version.rb +1 -1
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bdb4cd1c80f682ba03ce203c85aba6fa1d6f097
|
4
|
+
data.tar.gz: 17547f6431af31a89a5ef92618460c3837ecb0f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ab1f746dfca5ce6329f51ae3675415a11c949eb65fd9adf47dce42276e5d0f8d1cf8ea7e6deac20405f4d41f948736f50e333117a979e3d8b277015b92cd8b6
|
7
|
+
data.tar.gz: 3ed9c24becb764bfc92d6cf06eabb9e0c36d0e7cd5c614cafa7e8d44b6549390f1c35ad49c5bc04f72380ec17b4b2e2565a16cc5f23a33b3f59ac8b9a7fe091f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rex/socket.rb
CHANGED
@@ -602,12 +602,13 @@ module Socket
|
|
602
602
|
'Comm' => comm
|
603
603
|
)
|
604
604
|
r = s.getsockname[1]
|
605
|
-
s.close
|
606
605
|
|
607
606
|
# Trim off the trailing interface ID for link-local IPv6
|
608
607
|
return r.split('%').first
|
609
608
|
rescue ::Exception
|
610
609
|
return '127.0.0.1'
|
610
|
+
ensure
|
611
|
+
s.close if s
|
611
612
|
end
|
612
613
|
end
|
613
614
|
|
data/lib/rex/socket/version.rb
CHANGED
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.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Maloney
|
@@ -88,7 +88,7 @@ cert_chain:
|
|
88
88
|
G+Hmcg1v810agasPdoydE0RTVZgEOOMoQ07qu7JFXVWZ9ZQpHT7qJATWL/b2csFG
|
89
89
|
8mVuTXnyJOKRJA==
|
90
90
|
-----END CERTIFICATE-----
|
91
|
-
date:
|
91
|
+
date: 2019-02-14 00:00:00.000000000 Z
|
92
92
|
dependencies:
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
94
|
name: bundler
|
@@ -203,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
203
203
|
version: '0'
|
204
204
|
requirements: []
|
205
205
|
rubyforge_project:
|
206
|
-
rubygems_version: 2.6.
|
206
|
+
rubygems_version: 2.6.8
|
207
207
|
signing_key:
|
208
208
|
specification_version: 4
|
209
209
|
summary: The Ruby Exploitation (Rex) Socket Abstraction Library.
|
metadata.gz.sig
CHANGED
Binary file
|