prenus 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012 Christian Frichot
1
+ Copyright (c) 2013 Christian Frichot
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -96,6 +96,7 @@ This will only work if you're in the Circos Tools tableviewer folder (in my inst
96
96
  This will dump the png into the img/ folder.
97
97
 
98
98
  == Changes
99
+ * Version 0.0.7 - Included push update for XLS output - and updated version statements
99
100
  * Version 0.0.6 - Updated the version in the prenus file
100
101
  * Version 0.0.5 - FUUUU Did it again. Botched the gem push #facepalm. This is identical to 0.0.4
101
102
  * Version 0.0.4 - Shifted my copy of ruby-nessus into my lib/gemcache folder
data/bin/prenus CHANGED
@@ -19,17 +19,9 @@ require 'lib/input'
19
19
  require 'lib/gemcache/ruby-nessus/ruby-nessus'
20
20
 
21
21
  #Versioning and .. those things
22
- $verstring = "Version 0.0.6 - 3rd of Sept, 2012 - Created by Christian \"xntrik\" Frichot.\n\n"
23
- $verstring += "Copyright 2012 Christian Frichot\n\n"
24
- $verstring += "Licensed under the Apache License, Version 2.0 (the \"License\");\n"
25
- $verstring += "you may not use this file except in compliance with the License.\n"
26
- $verstring += "You may obtain a copy of the License at\n\n"
27
- $verstring += "\thttp://www.apache.org/licenses/LICENSE-2.0\n\n"
28
- $verstring += "Unless required by applicable law or agreed to in writing, software\n"
29
- $verstring += "distributed under the License is distributed on an \"AS IS\" BASIS,\n"
30
- $verstring += "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n"
31
- $verstring += "See the License for the specific language governing permissions and\n"
32
- $verstring += "limitations under the License.\n"
22
+ $verstring = "Version 0.0.7 - 22nd of June, 2013 - Created by Christian \"xntrik\" Frichot.\n\n"
23
+ $verstring += "Copyright 2013 Christian Frichot\n\n"
24
+ $verstring += "See LICENSE.txt for more details"
33
25
 
34
26
  class OptsConsole
35
27
  def self.parse(args)
@@ -34,10 +34,10 @@ class Xlsout < Baseout
34
34
  # File.open(@options[:outputdir] + "/out.xls", 'w') do |f|
35
35
 
36
36
  @oFile.syswrite "<table border=1>\n"
37
- @oFile.syswrite "<tr><th>Nessus Plugin ID</th><th>Severity</th><th>Synopsis</th><th>Description</th><th>Solution</th><th>Hosts</th></tr>\n"
37
+ @oFile.syswrite "<tr><th>Nessus Plugin ID</th><th>Severity</th><th>Plugin Name</th><th>Synopsis</th><th>Description</th><th>Solution</th><th>Hosts</th></tr>\n"
38
38
 
39
39
  @events.each do |k,v|
40
- @oFile.syswrite "<tr><td>" + k.to_s + "</td><td>" + v[:severity].to_s + "</td><td>" + v[:synopsis] + "</td><td>" + v[:description] + "</td><td>" + v[:solution].to_s + "</td>"
40
+ @oFile.syswrite "<tr><td>" + k.to_s + "</td><td>" + v[:severity].to_s + "</td><td>" + v[:plugin_name] + "</td><td>" + v[:synopsis] + "</td><td>" + v[:description] + "</td><td>" + v[:solution].to_s + "</td>"
41
41
  @oFile.syswrite "<td>"
42
42
  impacted_hosts = []
43
43
  v[:ports].each {|k,v|
@@ -57,4 +57,4 @@ class Xlsout < Baseout
57
57
  end
58
58
  end
59
59
 
60
- end end
60
+ end end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prenus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-03 00:00:00.000000000Z
12
+ date: 2013-06-22 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: Pretty Nessus = Prenus
15
15
  email: xntrik@gmail.com