rex-socket 0.1.33 → 0.1.34

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: 6a97221671cad2ce1a9169e9b469a6e4d997f081ee3624a6a849c538310c3da0
4
- data.tar.gz: 688b6872080a0ba1db00590ec33866863864a61e265cefcc2e41d416039cf9c7
3
+ metadata.gz: b7c47df3f39b889182acdf10979bdf50d435d605e79d9242549ed300de2298b9
4
+ data.tar.gz: 23844c82242b552bdea184aa95b5c499766ab70e9f77cc9baaa73b7edea81cab
5
5
  SHA512:
6
- metadata.gz: badf3199ee38910229eccb31a6f03deebfed5eb91774fcf25e96ef8d4ab137a7d4fd09cdfbc1ceaec4c7efc96b3900e97a74142f72f8c1828fa965e50b13f45f
7
- data.tar.gz: 2c600b3c7ea3cc45549512d7525a5f17e164a5c11daf18ab006060927bda060a019c13c0a0ca76b2b571494e63eecef75181734b3995e504a4d8a82cc942b90b
6
+ metadata.gz: 91887057ffde34e4fd7a30b4148e4da3f3442d5e99f746e2d464515bf81ad7a459932a8c69879d83267dc06939abadad17c50fad21b42e026047f879a8869cc4
7
+ data.tar.gz: aed583e93601c0ac04343844aad9b4304f5a848fb9c44405ddc8bc33cdeabbc2e8470a8f4c78fded2933a154e3aaf9b53f2c652e46471180349fd83c7d3b861c
checksums.yaml.gz.sig CHANGED
@@ -1,2 +1,4 @@
1
- J�g��>�dma�-��"��~���i��=��7�k�6��MiH����C3�G"�J��8���e�2:[�YM;�G�����4��L�<�4��_}B�y�SW�ޕ^�H,�wQ*~��m_��o��͟;X��U�jP��+���C4�#�
2
- �(��k�6�t�N����MO@_S)w��|����fc��4%�� E^�zv�������s�������L,�ӳ��&�3�n�g����
1
+ H���!��Ò����]}萌d�:}x
2
+ 5"�4��5(.����S��GuM –-4����0�����2]��3w��?dF�Ԯ
3
+ �{�ߟG;��#��
4
+ ��|�-�:�� �*+��s��K�[D��:u^l�H�����m#��y�ERNDנ��W��MRE�eU��\��\�?�i]8��
@@ -1,5 +1,5 @@
1
1
  module Rex
2
2
  module Socket
3
- VERSION = "0.1.33"
3
+ VERSION = "0.1.34"
4
4
  end
5
5
  end
data/lib/rex/socket.rb CHANGED
@@ -184,6 +184,8 @@ module Socket
184
184
  # @param hostname [String] A hostname or ASCII IP address
185
185
  # @return [Array<String>]
186
186
  def self.getaddresses(hostname, accept_ipv6 = true)
187
+ raise ::SocketError, 'getaddrinfo: nodename nor servname provided, or not known' if hostname.nil?
188
+
187
189
  if hostname =~ MATCH_IPV4 || (accept_ipv6 && hostname =~ MATCH_IPV6)
188
190
  return [hostname]
189
191
  end
@@ -821,4 +823,3 @@ end
821
823
  SHUT_RDWR = ::Socket::SHUT_RDWR
822
824
  SHUT_RD = ::Socket::SHUT_RD
823
825
  SHUT_WR = ::Socket::SHUT_WR
824
-
data.tar.gz.sig CHANGED
@@ -1,2 +1 @@
1
- } ��vm�������tƺ�/���!�!�k��ս!\�\uLzqY���$p6a��[F�ղ�01u4S�%���X���"x��&�l���-W������6r��H����`��~��g�,���+#rb��F���|JA��yT��
2
- A.E��B������izI��#�/;e��|��~leƨj4= �<���D�<�������1#
1
+ ����?tP��rGL �fç�wx��F�5��c������w��R����"(�ot�b�ia_� �7b����� �P�]���ه՚f��‚�'�)�z����+ݺ8����~.G��sBr�5���&����k���� �V�)=�
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.33
4
+ version: 0.1.34
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: 2021-09-16 00:00:00.000000000 Z
96
+ date: 2021-10-28 00:00:00.000000000 Z
97
97
  dependencies:
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: rake
metadata.gz.sig CHANGED
@@ -1,3 +1 @@
1
- tx�)^���˱L_��r��;6)2�F�<z �]l �.�#F�Y��%PE�Ÿ�6���Wd�{7h�L���X2LF�L����l�)��$Ћ��R�C�উ�NS���:�Y��g�Nh�����
2
- 4"V�W��l�@T�{����=)ݹS��U�D
3
- ��;F����+OG�皉���J��oء��LF����-��oHj0:�{�y1�"d��_�do��"ǜ�s��
1
+ |o����&� 2��afcѨ��֎|�R�O��| �)�& >-'s/����Agu9ck�� �����X ����1�Yΐ�~7���P?��-�_s�?P�:�� ԛ�e1s��jl�:��\�J�