rex-socket 0.1.5 → 0.1.6
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 +3 -1
- data.tar.gz.sig +0 -0
- data/lib/rex/socket/comm/local.rb +1 -1
- data/lib/rex/socket/parameters.rb +1 -1
- data/lib/rex/socket/version.rb +1 -1
- data/rex-socket.gemspec +2 -0
- metadata +4 -4
- 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: 3d5c101cf12b4b186967cc462825a01949e2a85f
|
4
|
+
data.tar.gz: 2a0a9e972c300e84a29fba0f14136a15833211a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da63a4de0ea57c5978f32804a87b1a9d15d65bac912762fc97ed23b2a596aedc9bf2286aa1c6d680a7f92a545281184c1bef9529509f4651eb87f03605894fc5
|
7
|
+
data.tar.gz: bee9a6294c9ad74fbe1ac47ac1614fd014f579744ddacc50b7cfbd2f49be212883152a49c5865066989c2cc738d6b0e7b0123b84dd2ee6f1b65f0a0951fd8089
|
checksums.yaml.gz.sig
CHANGED
@@ -1 +1,3 @@
|
|
1
|
-
|
1
|
+
_Vᛮ/��2H7:�D�l*c!�%��u\�?}l�7��O'�zZx�,X}�J`�#G��df#�+��8���?k��9bHb�;�`~����3�p2�1��d=��P<m���
|
2
|
+
��-^ʀRrtt��ڄ���Y���;��B
|
3
|
+
Ǯc����,�.91x�n�{�v=��Υ��z�`���1n�h=���m���i���T%^���P� ��ݴHQJ��*�������He����U����m�������L���x�Uf�@#�
|
data.tar.gz.sig
CHANGED
Binary file
|
@@ -348,7 +348,7 @@ class Rex::Socket::Comm::Local
|
|
348
348
|
num_rest_nodes = 1
|
349
349
|
|
350
350
|
_af, shost, sport = sock.getpeername_as_array
|
351
|
-
first_route_item = [shost, 0, sport, 0, 0].pack("A*CA*cc")
|
351
|
+
first_route_item = [shost, 0, sport.to_s, 0, 0].pack("A*CA*cc")
|
352
352
|
route_data = [first_route_item.length, first_route_item].pack("NA*")
|
353
353
|
route_data << [host, 0, port.to_s, 0, 0].pack("A*CA*cc")
|
354
354
|
|
@@ -149,7 +149,7 @@ class Rex::Socket::Parameters
|
|
149
149
|
end
|
150
150
|
|
151
151
|
if hash['Proxies']
|
152
|
-
self.proxies = hash['Proxies'].split('
|
152
|
+
self.proxies = hash['Proxies'].split(',').map{|a| a.strip}.map{|a| a.split(':').map{|b| b.strip}}
|
153
153
|
end
|
154
154
|
|
155
155
|
# The protocol this socket will be using
|
data/lib/rex/socket/version.rb
CHANGED
data/rex-socket.gemspec
CHANGED
@@ -22,6 +22,8 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
|
25
|
+
spec.required_ruby_version = '>= 2.2.0'
|
26
|
+
|
25
27
|
spec.add_development_dependency "bundler", "~> 1.12"
|
26
28
|
spec.add_development_dependency "rake", "~> 10.0"
|
27
29
|
spec.add_development_dependency "rspec", "~> 3.0"
|
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.6
|
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: 2017-
|
91
|
+
date: 2017-05-11 00:00:00.000000000 Z
|
92
92
|
dependencies:
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
94
|
name: bundler
|
@@ -194,7 +194,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
194
194
|
requirements:
|
195
195
|
- - ">="
|
196
196
|
- !ruby/object:Gem::Version
|
197
|
-
version:
|
197
|
+
version: 2.2.0
|
198
198
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
199
199
|
requirements:
|
200
200
|
- - ">="
|
@@ -202,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
202
202
|
version: '0'
|
203
203
|
requirements: []
|
204
204
|
rubyforge_project:
|
205
|
-
rubygems_version: 2.
|
205
|
+
rubygems_version: 2.6.8
|
206
206
|
signing_key:
|
207
207
|
specification_version: 4
|
208
208
|
summary: The Ruby Exploitation (Rex) Socket Abstraction Library.
|
metadata.gz.sig
CHANGED
Binary file
|