msfrpc-client 1.0.3 → 1.1.0

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: db5d5019c59000a9675c52aa4d2d1d5b5ac638f5
4
- data.tar.gz: 83a3c417d30eae3c83d6ac1dae9cb2aee41debaf
3
+ metadata.gz: 11744747ce28ee144620957a3c362e3eb1e5b843
4
+ data.tar.gz: ef6329d09ec64617a0bd266f4fe0c1ab480c464f
5
5
  SHA512:
6
- metadata.gz: 3652c2cf369ab9be64b81b7f825f565e0707e59df1351c7f4ea040f87f214e57dd26743e86ce299f39417738494dd7f4dd846ef210f2c38da555576dc7144c72
7
- data.tar.gz: 8c4e55a60341ec3429490be69f6fbfa9bc929026a0212772c2f17507d3fbe232fedf229a5c53863661cda75b37cf0eeb508c5bd82fe4369ac482c05a0567517a
6
+ metadata.gz: dca81c9fa5e2f6485e188273a061ff88d7554180f3e98ca990e1e5328a5a1ca5d9053a2c6c116e414fa1087814627f778ca9d8c781763567fddcfe38803df6ea
7
+ data.tar.gz: bad778fbbc15b44635fd72f41694db3a77296e729dc2324871f627ebd9bb6097f77aa6665f44fc347dbf7b187f5f2315e127fabb92cee0af8e57cccd70faa621
@@ -0,0 +1 @@
1
+ pkg
@@ -0,0 +1 @@
1
+ 2.4.0
@@ -0,0 +1,7 @@
1
+ sudo: false
2
+ group: stable
3
+ cache: bundler
4
+ language: ruby
5
+ rvm:
6
+ - 2.3.3
7
+ - 2.4.0
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in rex-text.gemspec
4
+ gemspec
@@ -0,0 +1,57 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ msfrpc-client (1.1.0)
5
+ msgpack
6
+ rex
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ diff-lcs (1.3)
12
+ filesize (0.1.1)
13
+ jsobfu (0.4.2)
14
+ rkelly-remix
15
+ json (2.0.3)
16
+ metasm (1.0.3)
17
+ mini_portile2 (2.1.0)
18
+ msgpack (1.1.0)
19
+ nokogiri (1.7.0.1)
20
+ mini_portile2 (~> 2.1.0)
21
+ rake (12.0.0)
22
+ rb-readline-r7 (0.5.2.0)
23
+ rex (2.0.10)
24
+ filesize
25
+ jsobfu (~> 0.4.1)
26
+ json
27
+ metasm (~> 1.0.2)
28
+ nokogiri
29
+ rb-readline-r7
30
+ robots
31
+ rkelly-remix (0.0.7)
32
+ robots (0.10.1)
33
+ rspec (3.5.0)
34
+ rspec-core (~> 3.5.0)
35
+ rspec-expectations (~> 3.5.0)
36
+ rspec-mocks (~> 3.5.0)
37
+ rspec-core (3.5.4)
38
+ rspec-support (~> 3.5.0)
39
+ rspec-expectations (3.5.0)
40
+ diff-lcs (>= 1.2.0, < 2.0)
41
+ rspec-support (~> 3.5.0)
42
+ rspec-mocks (3.5.0)
43
+ diff-lcs (>= 1.2.0, < 2.0)
44
+ rspec-support (~> 3.5.0)
45
+ rspec-support (3.5.0)
46
+
47
+ PLATFORMS
48
+ ruby
49
+
50
+ DEPENDENCIES
51
+ bundler
52
+ msfrpc-client!
53
+ rake
54
+ rspec
55
+
56
+ BUNDLED WITH
57
+ 1.14.6
data/LICENSE CHANGED
@@ -1,10 +1,27 @@
1
- Copyright (c) 2012-2014, Rapid7 LLC
1
+ Copyright (C) 2012-2016, Rapid7, Inc.
2
2
  All rights reserved.
3
3
 
4
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4
+ Redistribution and use in source and binary forms, with or without modification,
5
+ are permitted provided that the following conditions are met:
5
6
 
6
- 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7
+ * Redistributions of source code must retain the above copyright notice,
8
+ this list of conditions and the following disclaimer.
7
9
 
8
- 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
10
+ * Redistributions in binary form must reproduce the above copyright notice,
11
+ this list of conditions and the following disclaimer in the documentation
12
+ and/or other materials provided with the distribution.
9
13
 
10
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
14
+ * Neither the name of Rapid7 LLC nor the names of its contributors
15
+ may be used to endorse or promote products derived from this software
16
+ without specific prior written permission.
17
+
18
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
22
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
25
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
data/Rakefile CHANGED
@@ -1,18 +1,6 @@
1
- # encoding: utf-8
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
2
3
 
3
- task :build => :update do
4
- Rake::Task['clean'].execute
5
- puts "[*] Building msfrpc-client.gemspec"
6
- system "gem build msfrpc-client.gemspec &> /dev/null"
7
- end
8
-
9
- task :release => :build do
10
- puts "[*] Pushing msfrpc-client to rubygems.org"
11
- system "gem push msfrpc-client-*.gem &> /dev/null"
12
- Rake::Task['clean'].execute
13
- end
14
-
15
- task :clean do
16
- system "rm *.gem &> /dev/null"
17
- end
4
+ RSpec::Core::RakeTask.new(:spec)
18
5
 
6
+ task :default => :spec
@@ -0,0 +1,5 @@
1
+ module Msf
2
+ module RPC
3
+ VERSION = "1.1.0"
4
+ end
5
+ end
@@ -1,27 +1,34 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  $LOAD_PATH.push File.expand_path('../lib', __FILE__)
3
+ require 'msfrpc-client/version'
3
4
 
4
- Gem::Specification.new do |s|
5
- s.name = 'msfrpc-client'
6
- s.version = '1.0.3'
7
- s.authors = [
8
- 'HD Moore'
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'msfrpc-client'
7
+ spec.version = Msf::RPC::VERSION
8
+ spec.authors = [
9
+ 'HD Moore',
10
+ 'Brent Cook'
9
11
  ]
10
- s.email = [
11
- 'hdm@rapid7.com'
12
+ spec.email = [
13
+ 'x@hdm.io',
14
+ 'bcook@rapid7.com'
12
15
  ]
13
- s.homepage = "http://www.metasploit.com/"
14
- s.summary = %q{Ruby API for the Rapid7 Metasploit Pro RPC service}
15
- s.description = %q{
16
- This gem provides a Ruby client API to access the Rapid7 Metasploit Pro RPC service.
16
+ spec.homepage = "http://www.metasploit.com/"
17
+ spec.summary = %q{Ruby API for the Rapid7 Metasploit RPC service}
18
+ spec.description = %q{
19
+ This gem provides a Ruby client API to access the Rapid7 Metasploit RPC service.
17
20
  }.gsub(/\s+/, ' ').strip
18
21
 
19
- s.files = `git ls-files`.split("\n")
20
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
21
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
22
- s.require_paths = ['lib']
23
- s.licenses = ['BSD-2-Clause']
22
+ spec.files = `git ls-files`.split("\n")
23
+ spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
24
+ spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
25
+ spec.require_paths = ['lib']
26
+ spec.licenses = ['BSD-2-Clause']
24
27
 
25
- s.add_runtime_dependency 'msgpack', '~> 0.5.8', '>= 0.5.8'
26
- s.add_runtime_dependency 'librex', '~> 0.0.70','>= 0.0.70'
28
+ spec.add_runtime_dependency 'msgpack'
29
+ spec.add_runtime_dependency 'rex'
30
+
31
+ spec.add_development_dependency "bundler"
32
+ spec.add_development_dependency "rake"
33
+ spec.add_development_dependency "rspec"
27
34
  end
metadata CHANGED
@@ -1,63 +1,100 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: msfrpc-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - HD Moore
8
+ - Brent Cook
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-10-15 00:00:00.000000000 Z
12
+ date: 2017-03-20 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: msgpack
15
16
  requirement: !ruby/object:Gem::Requirement
16
17
  requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 0.5.8
20
18
  - - ">="
21
19
  - !ruby/object:Gem::Version
22
- version: 0.5.8
20
+ version: '0'
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
24
  requirements:
27
- - - "~>"
25
+ - - ">="
28
26
  - !ruby/object:Gem::Version
29
- version: 0.5.8
27
+ version: '0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rex
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
30
32
  - - ">="
31
33
  - !ruby/object:Gem::Version
32
- version: 0.5.8
34
+ version: '0'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
33
42
  - !ruby/object:Gem::Dependency
34
- name: librex
43
+ name: bundler
35
44
  requirement: !ruby/object:Gem::Requirement
36
45
  requirements:
37
- - - "~>"
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
38
54
  - !ruby/object:Gem::Version
39
- version: 0.0.70
55
+ version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rake
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
40
60
  - - ">="
41
61
  - !ruby/object:Gem::Version
42
- version: 0.0.70
43
- type: :runtime
62
+ version: '0'
63
+ type: :development
44
64
  prerelease: false
45
65
  version_requirements: !ruby/object:Gem::Requirement
46
66
  requirements:
47
- - - "~>"
67
+ - - ">="
48
68
  - !ruby/object:Gem::Version
49
- version: 0.0.70
69
+ version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: rspec
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
50
81
  - - ">="
51
82
  - !ruby/object:Gem::Version
52
- version: 0.0.70
53
- description: This gem provides a Ruby client API to access the Rapid7 Metasploit Pro
54
- RPC service.
83
+ version: '0'
84
+ description: This gem provides a Ruby client API to access the Rapid7 Metasploit RPC
85
+ service.
55
86
  email:
56
- - hdm@rapid7.com
87
+ - x@hdm.io
88
+ - bcook@rapid7.com
57
89
  executables: []
58
90
  extensions: []
59
91
  extra_rdoc_files: []
60
92
  files:
93
+ - ".gitignore"
94
+ - ".ruby-version"
95
+ - ".travis.yml"
96
+ - Gemfile
97
+ - Gemfile.lock
61
98
  - LICENSE
62
99
  - README.markdown
63
100
  - Rakefile
@@ -66,6 +103,7 @@ files:
66
103
  - lib/msfrpc-client.rb
67
104
  - lib/msfrpc-client/client.rb
68
105
  - lib/msfrpc-client/constants.rb
106
+ - lib/msfrpc-client/version.rb
69
107
  - msfrpc-client.gemspec
70
108
  homepage: http://www.metasploit.com/
71
109
  licenses:
@@ -87,9 +125,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
125
  version: '0'
88
126
  requirements: []
89
127
  rubyforge_project:
90
- rubygems_version: 2.2.2
128
+ rubygems_version: 2.6.10
91
129
  signing_key:
92
130
  specification_version: 4
93
- summary: Ruby API for the Rapid7 Metasploit Pro RPC service
131
+ summary: Ruby API for the Rapid7 Metasploit RPC service
94
132
  test_files: []
95
- has_rdoc: