nexpose 0.0.95 → 0.0.96

Sign up to get free protection for your applications and to get access to all the features.
@@ -99,8 +99,8 @@ module Nexpose
99
99
  http.use_ssl = true
100
100
  http.verify_mode = OpenSSL::SSL::VERIFY_NONE # XXX: security issue
101
101
  headers = {'Cookie' => "nexposeCCSessionID=#{@session_id}"}
102
- resp, data = http.get(uri.path, headers)
103
- data
102
+ resp = http.get(uri.path, headers)
103
+ resp.body
104
104
  end
105
105
  end
106
- end
106
+ end
data/nexpose.gemspec CHANGED
@@ -1,15 +1,11 @@
1
1
  # encoding: utf-8
2
2
 
3
- APP_NAME = "nexpose"
4
- VERSION = "0.0.95"
5
- REVISION = "12878"
6
-
7
3
  Gem::Specification.new do |s|
8
- s.name = APP_NAME
9
- s.version = VERSION
4
+ s.name = "nexpose"
5
+ s.version = "0.0.96"
10
6
  s.homepage = "https://github.com/rapid7/nexpose-client"
11
7
  s.summary = "Ruby API for Rapid7 NeXpose"
12
- s.description = "This gem provides a Ruby API to the NeXpose vulnerability management product by Rapid7. This version is based on Metasploit SVN revision #{REVISION}"
8
+ s.description = "This gem provides a Ruby API to the NeXpose vulnerability management product by Rapid7."
13
9
  s.license = "BSD"
14
10
  s.authors = ["HD Moore", "Chris Lee"]
15
11
  s.email = ["hdm@metasploit.com", "christopher_lee@rapid7.com"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexpose
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.95
4
+ version: 0.0.96
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-05-24 00:00:00.000000000Z
13
+ date: 2012-05-30 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: librex
17
- requirement: &28418712 !ruby/object:Gem::Requirement
17
+ requirement: &27775368 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 0.0.32
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *28418712
25
+ version_requirements: *27775368
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rex
28
- requirement: &28418436 !ruby/object:Gem::Requirement
28
+ requirement: &27775092 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,9 +33,9 @@ dependencies:
33
33
  version: 1.0.2
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *28418436
36
+ version_requirements: *27775092
37
37
  description: This gem provides a Ruby API to the NeXpose vulnerability management
38
- product by Rapid7. This version is based on Metasploit SVN revision 12878
38
+ product by Rapid7.
39
39
  email:
40
40
  - hdm@metasploit.com
41
41
  - christopher_lee@rapid7.com