rex 2.0.7 → 2.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,13 +8,13 @@ module Exceptions
8
8
  class Error < ::RuntimeError
9
9
 
10
10
  @@errors = {
11
- 0x00000000 => "STATUS_SUCCESS",
11
+ # 0x00000000 => "STATUS_SUCCESS",
12
12
  0x00000000 => "STATUS_WAIT_0",
13
13
  0x00000001 => "STATUS_WAIT_1",
14
14
  0x00000002 => "STATUS_WAIT_2",
15
15
  0x00000003 => "STATUS_WAIT_3",
16
16
  0x0000003F => "STATUS_WAIT_63",
17
- 0x00000080 => "STATUS_ABANDONED",
17
+ # 0x00000080 => "STATUS_ABANDONED",
18
18
  0x00000080 => "STATUS_ABANDONED_WAIT_0",
19
19
  0x000000BF => "STATUS_ABANDONED_WAIT_63",
20
20
  0x000000C0 => "STATUS_USER_APC",
@@ -281,7 +281,7 @@ class Rex::Socket::Comm::Local
281
281
  raise ::Errno::ETIMEDOUT
282
282
  end
283
283
 
284
- rescue ::Errno::EHOSTUNREACH,::Errno::ENETDOWN,::Errno::ENETUNREACH,::Errno::ENETRESET,::Errno::EHOSTDOWN,::Errno::EACCES,::Errno::EINVAL
284
+ rescue ::Errno::EHOSTUNREACH,::Errno::ENETDOWN,::Errno::ENETUNREACH,::Errno::ENETRESET,::Errno::EHOSTDOWN,::Errno::EACCES,::Errno::EINVAL,::Errno::ENOPROTOOPT
285
285
 
286
286
  # Rescue errors caused by a bad Scope ID for a link-local address
287
287
  if retry_scopes and @@ip6_lla_scopes[ ip6_scope_idx ]
@@ -1810,4 +1810,3 @@ protected
1810
1810
 
1811
1811
  end
1812
1812
  end
1813
-
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  APP_NAME = "rex"
4
- VERSION = "2.0.7"
4
+ VERSION = "2.0.8"
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = APP_NAME
@@ -16,5 +16,5 @@ Gem::Specification.new do |s|
16
16
  s.require_paths = ["lib"]
17
17
  s.extra_rdoc_files = ["README.markdown"]
18
18
  s.platform = "ruby"
19
- s.required_ruby_version = ">= 1.9.3"
19
+ s.required_ruby_version = ">= 2.1.5"
20
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rex
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.7
4
+ version: 2.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - HD Moore
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-02-19 00:00:00.000000000 Z
12
+ date: 2015-03-05 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Rex provides a variety of classes useful for security testing and exploit
15
15
  development.
@@ -612,7 +612,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
612
612
  requirements:
613
613
  - - ">="
614
614
  - !ruby/object:Gem::Version
615
- version: 1.9.3
615
+ version: 2.1.5
616
616
  required_rubygems_version: !ruby/object:Gem::Requirement
617
617
  requirements:
618
618
  - - ">="