nexpose 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/nexpose.rb +2 -1
- data/nexpose.gemspec +2 -2
- data/nexpose.rb +2 -1
- metadata +7 -7
data/lib/nexpose.rb
CHANGED
@@ -145,7 +145,8 @@ class APIRequest
|
|
145
145
|
|
146
146
|
begin
|
147
147
|
prepare_http_client
|
148
|
-
@raw_response
|
148
|
+
@raw_response = @http.post(@uri.path, @req, @headers)
|
149
|
+
@raw_response_data = @raw_response.read_body
|
149
150
|
@res = parse_xml(@raw_response_data)
|
150
151
|
|
151
152
|
if(not @res.root)
|
data/nexpose.gemspec
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
3
|
APP_NAME = "nexpose"
|
4
|
-
VERSION = "0.0.
|
4
|
+
VERSION = "0.0.7"
|
5
5
|
REVISION = "12878"
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = APP_NAME
|
9
9
|
s.version = VERSION
|
10
|
-
s.homepage = "
|
10
|
+
s.homepage = "https://github.com/rapid7/nexpose-client"
|
11
11
|
s.summary = "Ruby API for Rapid7 NeXpose"
|
12
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}"
|
13
13
|
s.license = "BSD"
|
data/nexpose.rb
CHANGED
@@ -145,7 +145,8 @@ class APIRequest
|
|
145
145
|
|
146
146
|
begin
|
147
147
|
prepare_http_client
|
148
|
-
@raw_response
|
148
|
+
@raw_response = @http.post(@uri.path, @req, @headers)
|
149
|
+
@raw_response_data = @raw_response.read_body
|
149
150
|
@res = parse_xml(@raw_response_data)
|
150
151
|
|
151
152
|
if(not @res.root)
|
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.
|
4
|
+
version: 0.0.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,12 +10,12 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2011-11-
|
13
|
+
date: 2011-11-05 00:00:00.000000000 -05:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: librex
|
18
|
-
requirement: &
|
18
|
+
requirement: &25538520 !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
21
|
- - ! '>='
|
@@ -23,10 +23,10 @@ dependencies:
|
|
23
23
|
version: 0.0.32
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
|
-
version_requirements: *
|
26
|
+
version_requirements: *25538520
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rex
|
29
|
-
requirement: &
|
29
|
+
requirement: &25538244 !ruby/object:Gem::Requirement
|
30
30
|
none: false
|
31
31
|
requirements:
|
32
32
|
- - ! '>='
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
version: 1.0.2
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
|
-
version_requirements: *
|
37
|
+
version_requirements: *25538244
|
38
38
|
description: This gem provides a Ruby API to the NeXpose vulnerability management
|
39
39
|
product by Rapid7. This version is based on Metasploit SVN revision 12878
|
40
40
|
email:
|
@@ -52,7 +52,7 @@ files:
|
|
52
52
|
- README.markdown
|
53
53
|
- lib/nexpose.rb
|
54
54
|
has_rdoc: true
|
55
|
-
homepage:
|
55
|
+
homepage: https://github.com/rapid7/nexpose-client
|
56
56
|
licenses:
|
57
57
|
- BSD
|
58
58
|
post_install_message:
|