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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86dc784b617cfe1f5dd267f15f0ed1ce11cf9f5a
4
- data.tar.gz: 1e591a487d0ffcbac5fc21d5c41d11c8b6e9267e
3
+ metadata.gz: 4bdb4cd1c80f682ba03ce203c85aba6fa1d6f097
4
+ data.tar.gz: 17547f6431af31a89a5ef92618460c3837ecb0f1
5
5
  SHA512:
6
- metadata.gz: f81e375ca502cc3ad04390bcaf2d6b2af978b8d69810ce3ba48caa995ce184440c49b3de6f5977915ceeba81d2edba99a060bbd5a1ae8af16ee3499df4cade42
7
- data.tar.gz: a7584c1a6f158409312c135b22c79d6a89f8ddab33e51d115eef2dfa17e9b0099907b3336f1bb79bc98f74dd2fedf193e323c7a7d676b581fc292341c2a14f18
6
+ metadata.gz: 8ab1f746dfca5ce6329f51ae3675415a11c949eb65fd9adf47dce42276e5d0f8d1cf8ea7e6deac20405f4d41f948736f50e333117a979e3d8b277015b92cd8b6
7
+ data.tar.gz: 3ed9c24becb764bfc92d6cf06eabb9e0c36d0e7cd5c614cafa7e8d44b6549390f1c35ad49c5bc04f72380ec17b4b2e2565a16cc5f23a33b3f59ac8b9a7fe091f
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  module Rex
2
2
  module Socket
3
- VERSION = "0.1.15"
3
+ VERSION = "0.1.16"
4
4
  end
5
5
  end
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.15
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: 2018-07-25 00:00:00.000000000 Z
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.13
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