nexpose 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nexpose/device.rb +1 -1
- data/lib/nexpose/version.rb +1 -1
- data/lib/nexpose/vuln.rb +1 -1
- data/nexpose.gemspec +1 -1
- metadata +4 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79b86df7c942872284ba68b2a7e5057ad0d7685c
|
4
|
+
data.tar.gz: 85a20906e5ece19724914e2767a5082eb097831b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6615b4f822f8f0d449e4ad3cda3cb38deca39a5d06e5b8198164eb9504d479de0bee5fb9b32470732f486709a35eabf7cf360cc231464ca4f4ab447d84b7dc7d
|
7
|
+
data.tar.gz: fd0c28ebb88d28b437c82a0c49bf64e0079b05cdd25d93d276f15f7dd2d29c68b1949b7f5c374e08495430f701b5da985b772448b4ca11612920c8017410f4a7
|
data/lib/nexpose/device.rb
CHANGED
@@ -78,7 +78,7 @@ module Nexpose
|
|
78
78
|
# List the vulnerability findings for a given device ID.
|
79
79
|
#
|
80
80
|
# @param [Fixnum] dev_id Unique identifier of a device (asset).
|
81
|
-
# @return [Array[
|
81
|
+
# @return [Array[VulnFinding]] List of vulnerability findings.
|
82
82
|
#
|
83
83
|
def list_device_vulns(dev_id)
|
84
84
|
parameters = { 'devid' => dev_id,
|
data/lib/nexpose/version.rb
CHANGED
data/lib/nexpose/vuln.rb
CHANGED
@@ -238,7 +238,7 @@ module Nexpose
|
|
238
238
|
attr_reader :cvss_score
|
239
239
|
attr_reader :cvss_vector
|
240
240
|
attr_reader :risk
|
241
|
-
# Date this
|
241
|
+
# Date this vulnerability was published.
|
242
242
|
attr_reader :published
|
243
243
|
attr_reader :severity
|
244
244
|
# Number of instances of this vulnerabilty finding on an asset.
|
data/nexpose.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.required_ruby_version = '>= 2.1'
|
19
19
|
s.platform = 'ruby'
|
20
20
|
|
21
|
-
s.add_runtime_dependency('rex', '
|
21
|
+
s.add_runtime_dependency('rex', '= 2.0.8')
|
22
22
|
|
23
23
|
s.add_development_dependency('bundler', '~> 1.3')
|
24
24
|
s.add_development_dependency('codeclimate-test-reporter', '~> 0.4.6')
|
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: 2.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HD Moore
|
@@ -13,26 +13,20 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2015-11-
|
16
|
+
date: 2015-11-23 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: rex
|
20
20
|
requirement: !ruby/object:Gem::Requirement
|
21
21
|
requirements:
|
22
|
-
- -
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version: '2.0'
|
25
|
-
- - ">="
|
22
|
+
- - '='
|
26
23
|
- !ruby/object:Gem::Version
|
27
24
|
version: 2.0.8
|
28
25
|
type: :runtime
|
29
26
|
prerelease: false
|
30
27
|
version_requirements: !ruby/object:Gem::Requirement
|
31
28
|
requirements:
|
32
|
-
- -
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: '2.0'
|
35
|
-
- - ">="
|
29
|
+
- - '='
|
36
30
|
- !ruby/object:Gem::Version
|
37
31
|
version: 2.0.8
|
38
32
|
- !ruby/object:Gem::Dependency
|