ruby-nessus 1.0.3 → 1.1.0
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.
- data/.document +3 -0
- data/.gitignore +2 -12
- data/.rspec +1 -0
- data/.yardopts +1 -0
- data/{LICENSE → LICENSE.txt} +1 -1
- data/{README.rdoc → README.md} +9 -9
- data/Rakefile +28 -36
- data/bin/recess +3 -3
- data/examples/example.rb +1 -1
- data/gemspec.yml +23 -0
- data/lib/nessus.rb +3 -0
- data/lib/{ruby-nessus → nessus}/Version1/event.rb +1 -1
- data/lib/{ruby-nessus → nessus}/Version1/host.rb +0 -0
- data/lib/{ruby-nessus → nessus}/Version1/port.rb +0 -0
- data/lib/{ruby-nessus → nessus}/Version1/version1.rb +2 -2
- data/lib/{ruby-nessus → nessus}/Version2/event.rb +14 -4
- data/lib/{ruby-nessus → nessus}/Version2/host.rb +1 -1
- data/lib/{ruby-nessus → nessus}/Version2/port.rb +0 -0
- data/lib/{ruby-nessus → nessus}/Version2/version2.rb +2 -2
- data/lib/{ruby-nessus → nessus}/cli.rb +2 -2
- data/lib/{ruby-nessus → nessus}/core_ext/helpers.rb +15 -0
- data/lib/{ruby-nessus → nessus}/log.rb +0 -0
- data/lib/nessus/nessus.rb +6 -0
- data/lib/{ruby-nessus → nessus}/parse.rb +3 -3
- data/lib/nessus/version.rb +3 -0
- data/ruby-nessus.gemspec +56 -0
- data/spec/ruby-nessus_spec.rb +2 -2
- data/spec/spec_helper.rb +1 -3
- metadata +126 -120
- data/init.rb +0 -1
- data/lib/ruby-nessus.rb +0 -3
- data/lib/ruby-nessus/nessus.rb +0 -6
- data/lib/ruby-nessus/version.rb +0 -3
data/.document
ADDED
data/.gitignore
CHANGED
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--colour --format documentation
|
data/.yardopts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--markup markdown --title "ruby-nessus Documentation" --protected
|
data/{LICENSE → LICENSE.txt}
RENAMED
data/{README.rdoc → README.md}
RENAMED
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
# Ruby-Nessus
|
2
2
|
|
3
|
-
|
3
|
+
## Description
|
4
4
|
|
5
5
|
Ruby-Nessus is a ruby interface for the popular Nessus vulnerability scanner. Ruby-Nessus aims to deliver an easy yet powerful interface for interacting and manipulating Nessus scan results and configurations. Ruby-Nessus currently supports both version 1.0 and 2.0 of the .nessus file format. Please remember to submit bugs and request features if needed.
|
6
6
|
|
@@ -8,11 +8,11 @@ More Information:
|
|
8
8
|
* Documentation: http://rdoc.info/projects/mephux/ruby-nessus
|
9
9
|
* More: http://www.packetport.net
|
10
10
|
|
11
|
-
|
11
|
+
## Install
|
12
12
|
|
13
13
|
sudo gem install ruby-nessus
|
14
14
|
|
15
|
-
|
15
|
+
## Usage & Examples
|
16
16
|
|
17
17
|
The below example illustrates how easy it really is to iterate of result data.
|
18
18
|
|
@@ -152,16 +152,16 @@ Below is example output generated by recess:
|
|
152
152
|
- Medium Count: 2
|
153
153
|
- High Count: 0
|
154
154
|
|
155
|
-
|
155
|
+
## Requirements
|
156
156
|
* Ruby 1.8 or 1.9
|
157
157
|
* Nokogiri http://github.com/tenderlove/nokogiri
|
158
158
|
|
159
|
-
|
159
|
+
## Todo
|
160
160
|
* Add The Ability to parse the scan configuration and plugin options.
|
161
161
|
* Building XML (.nessus) files configurations
|
162
162
|
* Add Support For NBE File Formats.
|
163
163
|
|
164
|
-
|
164
|
+
## Note on Patches & Pull Requests
|
165
165
|
* Fork the project.
|
166
166
|
* Make your feature addition or bug fix.
|
167
167
|
* Add tests for it. This is important so I don't break it in a
|
@@ -170,6 +170,6 @@ Below is example output generated by recess:
|
|
170
170
|
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
|
171
171
|
* Send me a pull request. Bonus points for topic branches.
|
172
172
|
|
173
|
-
|
173
|
+
## Copyright
|
174
174
|
|
175
|
-
Copyright (c) 2009 Dustin Willis Webber. See LICENSE for details.
|
175
|
+
Copyright (c) 2009 Dustin Willis Webber. See LICENSE for details.
|
data/Rakefile
CHANGED
@@ -1,48 +1,40 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
1
3
|
require 'rubygems'
|
2
4
|
require 'rake'
|
3
5
|
|
4
|
-
|
6
|
+
begin
|
7
|
+
gem 'rubygems-tasks', '~> 0.2'
|
8
|
+
require 'rubygems/tasks'
|
9
|
+
|
10
|
+
Gem::Tasks.new
|
11
|
+
rescue LoadError => e
|
12
|
+
warn e.message
|
13
|
+
warn "Run `gem install rubygems-tasks` to install Gem::Tasks."
|
14
|
+
end
|
5
15
|
|
6
16
|
begin
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
gem
|
14
|
-
gem.homepage = "http://github.com/mephux/ruby-nessus"
|
15
|
-
gem.authors = ["Dustin Willis Webber"]
|
16
|
-
gem.add_dependency "nokogiri", ">= 1.4.0"
|
17
|
-
gem.add_dependency "rainbow", ">= 1.0.4"
|
18
|
-
gem.add_development_dependency "rspec", ">= 1.2.9"
|
19
|
-
gem.add_development_dependency "yard", ">=0.2.3.5"
|
17
|
+
gem 'rspec', '~> 2.4'
|
18
|
+
require 'rspec/core/rake_task'
|
19
|
+
|
20
|
+
RSpec::Core::RakeTask.new
|
21
|
+
rescue LoadError => e
|
22
|
+
task :spec do
|
23
|
+
abort "Please run `gem install rspec` to install RSpec."
|
20
24
|
end
|
21
|
-
Jeweler::GemcutterTasks.new
|
22
|
-
rescue LoadError
|
23
|
-
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
24
25
|
end
|
25
26
|
|
26
|
-
|
27
|
-
|
28
|
-
desc "Run all specifications"
|
29
|
-
Spec::Rake::SpecTask.new(:spec) do |t|
|
30
|
-
t.libs += ['lib', 'spec']
|
31
|
-
t.spec_opts = ['--colour', '--format', 'specdoc']
|
32
|
-
end
|
33
|
-
|
34
|
-
task :test => :spec
|
27
|
+
task :test => :spec
|
35
28
|
task :default => :spec
|
36
29
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
end
|
41
|
-
|
42
|
-
require 'yard'
|
43
|
-
|
44
|
-
YARD::Rake::YardocTask.new do |t|
|
30
|
+
begin
|
31
|
+
gem 'yard', '~> 0.8'
|
32
|
+
require 'yard'
|
45
33
|
|
34
|
+
YARD::Rake::YardocTask.new
|
35
|
+
rescue LoadError => e
|
36
|
+
task :yard do
|
37
|
+
abort "Please run `gem install yard` to install YARD."
|
38
|
+
end
|
46
39
|
end
|
47
|
-
|
48
|
-
task :docs => :yardoc
|
40
|
+
task :doc => :yard
|
data/bin/recess
CHANGED
data/examples/example.rb
CHANGED
data/gemspec.yml
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
name: ruby-nessus
|
2
|
+
summary: Ruby-Nessus is a ruby interface for the popular Nessus vulnerability scanner.
|
3
|
+
version: 1.1.0
|
4
|
+
description:
|
5
|
+
Ruby-Nessus aims to deliver an easy yet powerful interface for interacting and
|
6
|
+
manipulating Nessus scan results and configurations.
|
7
|
+
|
8
|
+
license: MIT
|
9
|
+
authors: Dustin Willis Webber
|
10
|
+
email: dustin.webber@gmail.com
|
11
|
+
homepage: http://github.com/mephux/ruby-nessus
|
12
|
+
has_yard: true
|
13
|
+
|
14
|
+
required_ruby_version: ">= 1.8.6"
|
15
|
+
|
16
|
+
dependencies:
|
17
|
+
nokogiri: ~> 1.4
|
18
|
+
rainbow: ~> 1.0
|
19
|
+
|
20
|
+
development_dependencies:
|
21
|
+
rubygems-tasks: ~> 0.1
|
22
|
+
rspec: ~> 2.4
|
23
|
+
yard: ~> 0.7
|
data/lib/nessus.rb
ADDED
File without changes
|
File without changes
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require '
|
1
|
+
require 'nessus/Version2/port'
|
2
2
|
|
3
3
|
module Nessus
|
4
4
|
module Version2
|
@@ -52,7 +52,7 @@ module Nessus
|
|
52
52
|
end
|
53
53
|
|
54
54
|
#
|
55
|
-
# Return
|
55
|
+
# Return true if the event is of low severity.
|
56
56
|
#
|
57
57
|
# @return [Boolean]
|
58
58
|
# Return true if the event is low severity.
|
@@ -62,7 +62,7 @@ module Nessus
|
|
62
62
|
end
|
63
63
|
|
64
64
|
#
|
65
|
-
# Return
|
65
|
+
# Return true if the event is of medium severity.
|
66
66
|
#
|
67
67
|
# @return [Boolean]
|
68
68
|
# Return true if the event is medium severity.
|
@@ -72,7 +72,7 @@ module Nessus
|
|
72
72
|
end
|
73
73
|
|
74
74
|
#
|
75
|
-
# Return
|
75
|
+
# Return true if the event is of high severity.
|
76
76
|
#
|
77
77
|
# @return [Boolean]
|
78
78
|
# Return true if the event is high severity.
|
@@ -81,6 +81,16 @@ module Nessus
|
|
81
81
|
severity == 3
|
82
82
|
end
|
83
83
|
|
84
|
+
#
|
85
|
+
# Return true if the event is of critical severity.
|
86
|
+
#
|
87
|
+
# @return [Boolean]
|
88
|
+
# Return true if the event is critical severity.
|
89
|
+
#
|
90
|
+
def high?
|
91
|
+
severity == 4
|
92
|
+
end
|
93
|
+
|
84
94
|
#
|
85
95
|
# Return the event object nessus plugin id
|
86
96
|
#
|
@@ -299,7 +299,7 @@ module Nessus
|
|
299
299
|
# host.event_count #=> 3456
|
300
300
|
#
|
301
301
|
def event_count
|
302
|
-
((low_severity_events.
|
302
|
+
((low_severity_events.count) + (medium_severity_events.count) + (high_severity_events.count)).to_i
|
303
303
|
end
|
304
304
|
|
305
305
|
#
|
File without changes
|
@@ -28,6 +28,8 @@ class Fixnum
|
|
28
28
|
return "Medium Severity"
|
29
29
|
when 3
|
30
30
|
return "High Severity"
|
31
|
+
when 4
|
32
|
+
return "Critical Severity"
|
31
33
|
end
|
32
34
|
end
|
33
35
|
|
@@ -69,6 +71,19 @@ class Fixnum
|
|
69
71
|
false
|
70
72
|
end
|
71
73
|
end
|
74
|
+
|
75
|
+
# Return True if the given severity is critical
|
76
|
+
# @return [Boolean]
|
77
|
+
# Return True if the given severity is critical
|
78
|
+
# @example
|
79
|
+
# host.severity.critical? #=> true
|
80
|
+
def critical?
|
81
|
+
if self == 4
|
82
|
+
true
|
83
|
+
else
|
84
|
+
false
|
85
|
+
end
|
86
|
+
end
|
72
87
|
|
73
88
|
end
|
74
89
|
|
File without changes
|
data/ruby-nessus.gemspec
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'yaml'
|
4
|
+
|
5
|
+
Gem::Specification.new do |gem|
|
6
|
+
gemspec = YAML.load_file('gemspec.yml')
|
7
|
+
|
8
|
+
gem.name = gemspec.fetch('name')
|
9
|
+
gem.version = gemspec.fetch('version')
|
10
|
+
|
11
|
+
p gem.version
|
12
|
+
|
13
|
+
gem.summary = gemspec['summary']
|
14
|
+
gem.description = gemspec['description']
|
15
|
+
gem.licenses = Array(gemspec['license'])
|
16
|
+
gem.authors = Array(gemspec['authors'])
|
17
|
+
gem.email = gemspec['email']
|
18
|
+
gem.homepage = gemspec['homepage']
|
19
|
+
|
20
|
+
glob = lambda { |patterns| gem.files & Dir[*patterns] }
|
21
|
+
|
22
|
+
gem.files = `git ls-files`.split($/)
|
23
|
+
gem.files = glob[gemspec['files']] if gemspec['files']
|
24
|
+
|
25
|
+
gem.executables = gemspec.fetch('executables') do
|
26
|
+
glob['bin/*'].map { |path| File.basename(path) }
|
27
|
+
end
|
28
|
+
gem.default_executable = gem.executables.first if Gem::VERSION < '1.7.'
|
29
|
+
|
30
|
+
gem.extensions = glob[gemspec['extensions'] || 'ext/**/extconf.rb']
|
31
|
+
gem.test_files = glob[gemspec['test_files'] || '{test/{**/}*_test.rb']
|
32
|
+
gem.extra_rdoc_files = glob[gemspec['extra_doc_files'] || '*.{txt,md}']
|
33
|
+
|
34
|
+
gem.require_paths = Array(gemspec.fetch('require_paths') {
|
35
|
+
%w[ext lib].select { |dir| File.directory?(dir) }
|
36
|
+
})
|
37
|
+
|
38
|
+
gem.requirements = gemspec['requirements']
|
39
|
+
gem.required_ruby_version = gemspec['required_ruby_version']
|
40
|
+
gem.required_rubygems_version = gemspec['required_rubygems_version']
|
41
|
+
gem.post_install_message = gemspec['post_install_message']
|
42
|
+
|
43
|
+
split = lambda { |string| string.split(/,\s*/) }
|
44
|
+
|
45
|
+
if gemspec['dependencies']
|
46
|
+
gemspec['dependencies'].each do |name,versions|
|
47
|
+
gem.add_dependency(name,split[versions])
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
if gemspec['development_dependencies']
|
52
|
+
gemspec['development_dependencies'].each do |name,versions|
|
53
|
+
gem.add_development_dependency(name,split[versions])
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
data/spec/ruby-nessus_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,113 +1,134 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-nessus
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 1
|
7
|
-
- 0
|
8
|
-
- 3
|
9
|
-
version: 1.0.3
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.0
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Dustin Willis Webber
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2013-05-30 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: nokogiri
|
22
|
-
|
23
|
-
|
24
|
-
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
|
28
|
-
- 1
|
29
|
-
- 4
|
30
|
-
- 0
|
31
|
-
version: 1.4.0
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '1.4'
|
32
22
|
type: :runtime
|
33
|
-
version_requirements: *id001
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: rainbow
|
36
23
|
prerelease: false
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.4'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rainbow
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '1.0'
|
46
38
|
type: :runtime
|
47
|
-
version_requirements: *id002
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: rspec
|
50
39
|
prerelease: false
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '1.0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rubygems-tasks
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.1'
|
60
54
|
type: :development
|
61
|
-
version_requirements: *id003
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: yard
|
64
55
|
prerelease: false
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.1'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rspec
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '2.4'
|
75
70
|
type: :development
|
76
|
-
|
77
|
-
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '2.4'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: yard
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0.7'
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0.7'
|
94
|
+
description: Ruby-Nessus aims to deliver an easy yet powerful interface for interacting
|
95
|
+
and manipulating Nessus scan results and configurations.
|
78
96
|
email: dustin.webber@gmail.com
|
79
|
-
executables:
|
97
|
+
executables:
|
80
98
|
- recess
|
81
99
|
extensions: []
|
82
|
-
|
83
|
-
|
84
|
-
-
|
85
|
-
|
86
|
-
|
100
|
+
extra_rdoc_files:
|
101
|
+
- LICENSE.txt
|
102
|
+
- README.md
|
103
|
+
files:
|
104
|
+
- .document
|
87
105
|
- .gitignore
|
88
|
-
-
|
89
|
-
-
|
106
|
+
- .rspec
|
107
|
+
- .yardopts
|
108
|
+
- LICENSE.txt
|
109
|
+
- README.md
|
90
110
|
- Rakefile
|
91
111
|
- bin/recess
|
92
112
|
- examples/example.rb
|
93
113
|
- examples/example_v1.nessus
|
94
114
|
- examples/example_v2.nessus
|
95
|
-
-
|
96
|
-
- lib/
|
97
|
-
- lib/
|
98
|
-
- lib/
|
99
|
-
- lib/
|
100
|
-
- lib/
|
101
|
-
- lib/
|
102
|
-
- lib/
|
103
|
-
- lib/
|
104
|
-
- lib/
|
105
|
-
- lib/
|
106
|
-
- lib/
|
107
|
-
- lib/
|
108
|
-
- lib/
|
109
|
-
- lib/
|
110
|
-
- lib/
|
115
|
+
- gemspec.yml
|
116
|
+
- lib/nessus.rb
|
117
|
+
- lib/nessus/Version1/event.rb
|
118
|
+
- lib/nessus/Version1/host.rb
|
119
|
+
- lib/nessus/Version1/port.rb
|
120
|
+
- lib/nessus/Version1/version1.rb
|
121
|
+
- lib/nessus/Version2/event.rb
|
122
|
+
- lib/nessus/Version2/host.rb
|
123
|
+
- lib/nessus/Version2/port.rb
|
124
|
+
- lib/nessus/Version2/version2.rb
|
125
|
+
- lib/nessus/cli.rb
|
126
|
+
- lib/nessus/core_ext/helpers.rb
|
127
|
+
- lib/nessus/log.rb
|
128
|
+
- lib/nessus/nessus.rb
|
129
|
+
- lib/nessus/parse.rb
|
130
|
+
- lib/nessus/version.rb
|
131
|
+
- ruby-nessus.gemspec
|
111
132
|
- spec/Version1/event_spec.rb
|
112
133
|
- spec/Version1/host_spec.rb
|
113
134
|
- spec/Version1/scan_spec.rb
|
@@ -119,44 +140,29 @@ files:
|
|
119
140
|
- spec/helpers/xml.rb
|
120
141
|
- spec/ruby-nessus_spec.rb
|
121
142
|
- spec/spec_helper.rb
|
122
|
-
has_rdoc: true
|
123
143
|
homepage: http://github.com/mephux/ruby-nessus
|
124
|
-
licenses:
|
125
|
-
|
144
|
+
licenses:
|
145
|
+
- MIT
|
126
146
|
post_install_message:
|
127
|
-
rdoc_options:
|
128
|
-
|
129
|
-
require_paths:
|
147
|
+
rdoc_options: []
|
148
|
+
require_paths:
|
130
149
|
- lib
|
131
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
requirements:
|
140
|
-
- -
|
141
|
-
- !ruby/object:Gem::Version
|
142
|
-
|
143
|
-
- 0
|
144
|
-
version: "0"
|
150
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
151
|
+
none: false
|
152
|
+
requirements:
|
153
|
+
- - ! '>='
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: 1.8.6
|
156
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
|
+
none: false
|
158
|
+
requirements:
|
159
|
+
- - ! '>='
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: '0'
|
145
162
|
requirements: []
|
146
|
-
|
147
163
|
rubyforge_project:
|
148
|
-
rubygems_version: 1.
|
164
|
+
rubygems_version: 1.8.24
|
149
165
|
signing_key:
|
150
166
|
specification_version: 3
|
151
167
|
summary: Ruby-Nessus is a ruby interface for the popular Nessus vulnerability scanner.
|
152
|
-
test_files:
|
153
|
-
- spec/helpers/xml.rb
|
154
|
-
- spec/ruby-nessus_spec.rb
|
155
|
-
- spec/spec_helper.rb
|
156
|
-
- spec/Version1/event_spec.rb
|
157
|
-
- spec/Version1/host_spec.rb
|
158
|
-
- spec/Version1/scan_spec.rb
|
159
|
-
- spec/Version2/event_spec.rb
|
160
|
-
- spec/Version2/host_spec.rb
|
161
|
-
- spec/Version2/scan_spec.rb
|
162
|
-
- examples/example.rb
|
168
|
+
test_files: []
|
data/init.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require 'ruby-nessus'
|
data/lib/ruby-nessus.rb
DELETED
data/lib/ruby-nessus/nessus.rb
DELETED
data/lib/ruby-nessus/version.rb
DELETED