risu 1.7.5 → 1.7.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +16 -10
  3. data/Gemfile.lock +125 -102
  4. data/LICENSE +2 -1
  5. data/NEWS.markdown +23 -2
  6. data/README.markdown +35 -22
  7. data/Rakefile +4 -4
  8. data/bin/risu +1 -1
  9. data/lib/risu.rb +12 -7
  10. data/lib/risu/base.rb +1 -1
  11. data/lib/risu/base/post_process_base.rb +2 -3
  12. data/lib/risu/base/post_process_manager.rb +2 -2
  13. data/lib/risu/base/schema.rb +3 -3
  14. data/lib/risu/base/shares_template_helper.rb +37 -3
  15. data/lib/risu/base/template_base.rb +2 -2
  16. data/lib/risu/base/template_helper.rb +4 -4
  17. data/lib/risu/base/template_manager.rb +2 -2
  18. data/lib/risu/base/templater.rb +1 -1
  19. data/lib/risu/cli.rb +1 -1
  20. data/lib/risu/cli/application.rb +7 -6
  21. data/lib/risu/cli/banner.rb +1 -1
  22. data/lib/risu/exceptions.rb +1 -1
  23. data/lib/risu/exceptions/invaliddocument.rb +1 -1
  24. data/lib/risu/graphs.rb +32 -0
  25. data/lib/risu/graphs/top_vuln_graph.rb +59 -0
  26. data/lib/risu/graphs/windows_os_graph.rb +134 -0
  27. data/lib/risu/models.rb +1 -1
  28. data/lib/risu/models/attachment.rb +1 -1
  29. data/lib/risu/models/familyselection.rb +1 -1
  30. data/lib/risu/models/host.rb +100 -44
  31. data/lib/risu/models/hostproperty.rb +1 -1
  32. data/lib/risu/models/individualpluginselection.rb +1 -1
  33. data/lib/risu/models/item.rb +43 -15
  34. data/lib/risu/models/patch.rb +1 -1
  35. data/lib/risu/models/plugin.rb +2 -2
  36. data/lib/risu/models/pluginspreference.rb +1 -1
  37. data/lib/risu/models/policy.rb +1 -1
  38. data/lib/risu/models/reference.rb +4 -3
  39. data/lib/risu/models/report.rb +2 -2
  40. data/lib/risu/models/serverpreference.rb +1 -1
  41. data/lib/risu/models/servicedescription.rb +1 -1
  42. data/lib/risu/models/version.rb +1 -1
  43. data/lib/risu/parsers.rb +1 -1
  44. data/lib/risu/parsers/nessus/nessus_document.rb +7 -1
  45. data/lib/risu/parsers/nessus/nessus_sax_listener.rb +6 -4
  46. data/lib/risu/parsers/nessus/postprocess.rb +2 -2
  47. data/lib/risu/parsers/nessus/postprocess/adobe_acrobat.rb +1 -1
  48. data/lib/risu/parsers/nessus/postprocess/adobe_air.rb +1 -1
  49. data/lib/risu/parsers/nessus/postprocess/adobe_reader.rb +1 -1
  50. data/lib/risu/parsers/nessus/postprocess/apache.rb +1 -1
  51. data/lib/risu/parsers/nessus/postprocess/apache_tomcat.rb +53 -0
  52. data/lib/risu/parsers/nessus/postprocess/apple_quicktime.rb +1 -1
  53. data/lib/risu/parsers/nessus/postprocess/blackberry_enterprise_server.rb +1 -1
  54. data/lib/risu/parsers/nessus/postprocess/ca_brightstor_arcserve.rb +1 -1
  55. data/lib/risu/parsers/nessus/postprocess/core_ftp.rb +1 -1
  56. data/lib/risu/parsers/nessus/postprocess/db2.rb +1 -1
  57. data/lib/risu/parsers/nessus/postprocess/downgrade_plugins.rb +1 -1
  58. data/lib/risu/parsers/nessus/postprocess/filezilla.rb +1 -1
  59. data/lib/risu/parsers/nessus/postprocess/firefox.rb +1 -1
  60. data/lib/risu/parsers/nessus/postprocess/flash_player.rb +1 -1
  61. data/lib/risu/parsers/nessus/postprocess/flexnet.rb +1 -1
  62. data/lib/risu/parsers/nessus/postprocess/foxit_reader.rb +1 -1
  63. data/lib/risu/parsers/nessus/postprocess/google_chrome.rb +1 -1
  64. data/lib/risu/parsers/nessus/postprocess/hp_system_mgt_homepage.rb +1 -1
  65. data/lib/risu/parsers/nessus/postprocess/java.rb +1 -1
  66. data/lib/risu/parsers/nessus/postprocess/openssh.rb +3 -1
  67. data/lib/risu/parsers/nessus/postprocess/openssl.rb +1 -1
  68. data/lib/risu/parsers/nessus/postprocess/oracle_database.rb +1 -1
  69. data/lib/risu/parsers/nessus/postprocess/php.rb +1 -1
  70. data/lib/risu/parsers/nessus/postprocess/post_process.rb +1 -1
  71. data/lib/risu/parsers/nessus/postprocess/risk_score.rb +2 -2
  72. data/lib/risu/parsers/nessus/postprocess/root_cause.rb +12 -7
  73. data/lib/risu/parsers/nessus/postprocess/servu.rb +1 -1
  74. data/lib/risu/parsers/nessus/postprocess/shockwave.rb +1 -1
  75. data/lib/risu/parsers/nessus/postprocess/sigplus_pro.rb +1 -1
  76. data/lib/risu/parsers/nessus/postprocess/symantec_pcanywhere.rb +1 -1
  77. data/lib/risu/parsers/nessus/postprocess/vlc.rb +1 -1
  78. data/lib/risu/parsers/nessus/postprocess/vmware_esxi.rb +3 -1
  79. data/lib/risu/parsers/nessus/postprocess/vmware_player.rb +1 -1
  80. data/lib/risu/parsers/nessus/postprocess/vmware_vcenter.rb +1 -1
  81. data/lib/risu/parsers/nessus/postprocess/vmware_vsphere_client.rb +1 -1
  82. data/lib/risu/parsers/nessus/postprocess/windows.rb +1 -1
  83. data/lib/risu/parsers/nessus/postprocess/winscp.rb +1 -1
  84. data/lib/risu/parsers/nessus/postprocess/wireshark.rb +1 -1
  85. data/lib/risu/parsers/nexpose/nexpose_document.rb +1 -1
  86. data/lib/risu/parsers/nexpose/simple_nexpose.rb +3 -3
  87. data/lib/risu/renderers.rb +1 -1
  88. data/lib/risu/renderers/csvrenderer.rb +4 -4
  89. data/lib/risu/renderers/nilrenderer.rb +4 -4
  90. data/lib/risu/renderers/pdfrenderer.rb +5 -5
  91. data/lib/risu/template_helpers.rb +32 -0
  92. data/lib/risu/templates/assets.rb +1 -1
  93. data/lib/risu/templates/cover_sheet.rb +1 -1
  94. data/lib/risu/templates/exec_summary.rb +1 -1
  95. data/lib/risu/templates/executive_summary_detailed.rb +1 -1
  96. data/lib/risu/templates/exploitablity_summary.rb +1 -1
  97. data/lib/risu/templates/finding_statistics.rb +1 -1
  98. data/lib/risu/templates/findings_host.rb +1 -1
  99. data/lib/risu/templates/findings_summary.rb +1 -1
  100. data/lib/risu/templates/findings_summary_with_pluginid.rb +1 -1
  101. data/lib/risu/templates/graphs.rb +1 -1
  102. data/lib/risu/templates/host_findings_csv.rb +1 -1
  103. data/lib/risu/templates/host_summary.rb +1 -1
  104. data/lib/risu/templates/malicious_process_detection.rb +1 -1
  105. data/lib/risu/templates/missing_root_causes.rb +1 -1
  106. data/lib/risu/templates/ms_patch_summary.rb +1 -1
  107. data/lib/risu/templates/ms_update_summary.rb +1 -1
  108. data/lib/risu/templates/ms_wsus_findings.rb +1 -1
  109. data/lib/risu/templates/notable.rb +1 -1
  110. data/lib/risu/templates/notable_detailed.rb +1 -1
  111. data/lib/risu/templates/pci_compliance.rb +1 -1
  112. data/lib/risu/templates/stig_findings_summary.rb +2 -2
  113. data/lib/risu/templates/talking_points.rb +5 -5
  114. data/lib/risu/templates/technical_findings.rb +1 -1
  115. data/lib/risu/templates/template.rb +1 -1
  116. data/lib/risu/templates/top_25.rb +1 -1
  117. data/lib/risu/version.rb +33 -0
  118. data/risu.gemspec +21 -20
  119. metadata +161 -67
  120. data/Gemfile.ci +0 -12
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -28,19 +28,19 @@ module Risu
28
28
  module Renderers
29
29
  class NilRenderer
30
30
 
31
- # @todo comment
31
+ # @TODO comment
32
32
  #
33
33
  def text text, *args
34
34
  true
35
35
  end
36
36
 
37
- # @todo comment
37
+ # @TODO comment
38
38
  #
39
39
  def font_size x
40
40
  true
41
41
  end
42
42
 
43
- # @todo comment
43
+ # @TODO comment
44
44
  #
45
45
  def start_new_page
46
46
  true
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -28,25 +28,25 @@ module Risu
28
28
  module Renderers
29
29
  class PDFRenderer
30
30
 
31
- #@todo
31
+ #@TODO
32
32
  def initialize ()
33
33
 
34
34
 
35
35
  end
36
36
 
37
- # @todo comment
37
+ # @TODO comment
38
38
  #
39
39
  def text text, *args
40
40
  @output.text text, args
41
41
  end
42
42
 
43
- # @todo comment
43
+ # @TODO comment
44
44
  #
45
45
  def font_size x
46
46
  true
47
47
  end
48
48
 
49
- # @todo comment
49
+ # @TODO comment
50
50
  #
51
51
  def start_new_page
52
52
  true
@@ -0,0 +1,32 @@
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
+ # All rights reserved.
3
+ #
4
+ # Redistribution and use in source and binary forms, with or without
5
+ # modification, are permitted provided that the following conditions are met:
6
+ #
7
+ # * Redistributions of source code must retain the above copyright
8
+ # notice, this list of conditions and the following disclaimer.
9
+ # * Redistributions in binary form must reproduce the above copyright
10
+ # notice, this list of conditions and the following disclaimer in the
11
+ # documentation and/or other materials provided with the distribution.
12
+ # * Neither the name of the Arxopia LLC nor the names of its contributors
13
+ # may be used to endorse or promote products derived from this software
14
+ # without specific prior written permission.
15
+ #
16
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17
+ # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18
+ # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19
+ # DISCLAIMED. IN NO EVENT SHALL ARXOPIA LLC BE LIABLE FOR ANY DIRECT, INDIRECT,
20
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
21
+ # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
22
+ # OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
23
+ # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
24
+ # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
25
+ # OF THE POSSIBILITY OF SUCH DAMAGE.
26
+
27
+ module Risu
28
+ module TemplateHelpers
29
+ end
30
+ end
31
+
32
+ #require 'risu/template_helpers/'
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -61,7 +61,7 @@ module Risu
61
61
  end
62
62
 
63
63
  #
64
- # @todo pull to main Host api
64
+ # @TODO pull to main Host api
65
65
  #
66
66
  def host_list_text(hosts)
67
67
  host_string = ""
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -60,12 +60,12 @@ module Risu
60
60
 
61
61
  @output.text "These critical and highs were discovered on #{Host.unique_hosts_with_critical_and_high_count} unique hosts. #{Item.risk_percent_rounded_text} of the total assessed computers were found to have an critical or high finding."
62
62
 
63
- # @todo need vulnerable host count
63
+ # @TODO need vulnerable host count
64
64
 
65
65
  @output.text "\n\n\n"
66
66
 
67
67
  # Top Hosts with Findings
68
- #@todo need this call
68
+ #@TODO need this call
69
69
 
70
70
  @output.text "\n\n\n"
71
71
 
@@ -82,7 +82,7 @@ module Risu
82
82
  end
83
83
 
84
84
 
85
- # # Copyright (c) 2010-2015 Arxopia LLC.
85
+ # # Copyright (c) 2010-2016 Arxopia LLC.
86
86
  # # All rights reserved.
87
87
  # #
88
88
  # # Redistribution and use in source and binary forms, with or without
@@ -147,7 +147,7 @@ end
147
147
  # @output.text "\n\n\n"
148
148
 
149
149
  # # Top Hosts with Findings
150
- # #@todo need this call
150
+ # #@TODO need this call
151
151
 
152
152
  # @output.text "\n\n\n"
153
153
 
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -0,0 +1,33 @@
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
+ # All rights reserved.
3
+ #
4
+ # Redistribution and use in source and binary forms, with or without
5
+ # modification, are permitted provided that the following conditions are met:
6
+ #
7
+ # * Redistributions of source code must retain the above copyright
8
+ # notice, this list of conditions and the following disclaimer.
9
+ # * Redistributions in binary form must reproduce the above copyright
10
+ # notice, this list of conditions and the following disclaimer in the
11
+ # documentation and/or other materials provided with the distribution.
12
+ # * Neither the name of the Arxopia LLC nor the names of its contributors
13
+ # may be used to endorse or promote products derived from this software
14
+ # without specific prior written permission.
15
+ #
16
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17
+ # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18
+ # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19
+ # DISCLAIMED. IN NO EVENT SHALL ARXOPIA LLC BE LIABLE FOR ANY DIRECT, INDIRECT,
20
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
21
+ # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
22
+ # OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
23
+ # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
24
+ # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
25
+ # OF THE POSSIBILITY OF SUCH DAMAGE.
26
+
27
+ module Risu
28
+ APP_NAME = "risu"
29
+ VERSION = "1.7.6"
30
+ HOME_PAGE = "https://arxopia.github.io/risu/"
31
+ GITHUB = "http://github.com/arxopia/risu"
32
+ EMAIL = "risu@arxopia.com"
33
+ end
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2010-2015 Arxopia LLC.
1
+ # Copyright (c) 2010-2016 Arxopia LLC.
2
2
  # All rights reserved.
3
3
  #
4
4
  # Redistribution and use in source and binary forms, with or without
@@ -27,19 +27,19 @@
27
27
  base = __FILE__
28
28
  $:.unshift(File.join(File.dirname(base), 'lib'))
29
29
 
30
- require 'risu'
30
+ require 'risu/version'
31
31
 
32
32
  Gem::Specification.new do |s|
33
- s.name = "#{Risu::APP_NAME}"
33
+ s.name = Risu::APP_NAME
34
34
  s.version = Risu::VERSION
35
- s.homepage = "https://github.com/arxopia/risu"
36
- s.summary = "#{Risu::APP_NAME}"
35
+ s.homepage = Risu::HOME_PAGE
36
+ s.author = "Jacob Hammack"
37
+ s.email = Risu::EMAIL
38
+
39
+ s.summary = Risu::APP_NAME
37
40
  s.description = "#{Risu::APP_NAME} is a Nessus .nessus XML parser and report generation tool"
38
41
  s.license = "BSD"
39
42
 
40
- s.author = "Jacob Hammack"
41
- s.email = "jacob.hammack@hammackj.com"
42
-
43
43
  s.files = Dir['[A-Z]*'] + Dir['lib/**/*'] + ['risu.gemspec']
44
44
  s.bindir = "bin"
45
45
  s.executables = "#{Risu::APP_NAME}"
@@ -47,19 +47,20 @@ Gem::Specification.new do |s|
47
47
  s.has_rdoc = 'yard'
48
48
  s.extra_rdoc_files = ["README.markdown", "LICENSE", "NEWS.markdown"]
49
49
 
50
- s.required_rubygems_version = ">= 1.8.24"
51
50
  s.rubyforge_project = "#{Risu::APP_NAME}"
52
51
 
53
- s.add_development_dependency 'simplecov', '~> 0.7', '>= 0.7.1'
54
- s.add_development_dependency 'yard', '~> 0.8', '>= 0.8.3'
55
- s.add_development_dependency 'minitest', '~> 4.3', '>= 4.3.2'
52
+ s.add_runtime_dependency 'rails', '~> 4.2', '>= 4.2.5'
53
+ s.add_runtime_dependency 'libxml-ruby', '~> 2.8', '>= 2.8.0'
54
+ s.add_runtime_dependency 'prawn', '~> 2.0', '>= 2.0.2'
55
+ s.add_runtime_dependency 'prawn-table', '~> 0.2', '>= 0.2.2'
56
+ s.add_runtime_dependency 'gruff', '~> 0.6', '>= 0.6.0'
57
+ s.add_runtime_dependency 'mysql2', '~> 0.4', '>= 0.4.2'
58
+ s.add_runtime_dependency 'rmagick', '~> 2.15', '>= 2.15.4'
59
+ s.add_runtime_dependency 'sqlite3', '~> 1.3', '>= 1.3.11'
60
+ s.add_runtime_dependency 'nokogiri', '~> 1.6', '>= 1.6.7'
56
61
 
57
- s.add_dependency('rails', ['4.0.0'])
58
- s.add_dependency('libxml-ruby', ['2.4.0'])
59
- s.add_dependency('prawn', ['0.12.0'])
60
- s.add_dependency('gruff', ['0.3.7'])
61
- s.add_dependency('mysql2', ['0.3.11'])
62
- s.add_dependency('rmagick', ['2.13.4'])
63
- s.add_dependency('sqlite3', ['1.3.7'])
64
- s.add_dependency('nokogiri', ['1.6.0'])
62
+ s.add_development_dependency 'simplecov', '~> 0.11', '>= 0.11.1'
63
+ s.add_development_dependency 'yard', '~> 0.8', '>= 0.8.0'
64
+ s.add_development_dependency 'minitest', '~> 5.0', '>= 5.8.3'
65
+ s.add_development_dependency 'test-unit', '~> 3.1', ">= 3.1.5"
65
66
  end
metadata CHANGED
@@ -1,189 +1,277 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: risu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.5
4
+ version: 1.7.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Hammack
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-06 00:00:00.000000000 Z
11
+ date: 2015-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: simplecov
14
+ name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
19
+ version: '4.2'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 0.7.1
23
- type: :development
22
+ version: 4.2.5
23
+ type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: '0.7'
29
+ version: '4.2'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 0.7.1
32
+ version: 4.2.5
33
33
  - !ruby/object:Gem::Dependency
34
- name: yard
34
+ name: libxml-ruby
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '0.8'
39
+ version: '2.8'
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: 0.8.3
43
- type: :development
42
+ version: 2.8.0
43
+ type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: '0.8'
49
+ version: '2.8'
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 0.8.3
52
+ version: 2.8.0
53
53
  - !ruby/object:Gem::Dependency
54
- name: minitest
54
+ name: prawn
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
57
  - - "~>"
58
58
  - !ruby/object:Gem::Version
59
- version: '4.3'
59
+ version: '2.0'
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: 4.3.2
63
- type: :development
62
+ version: 2.0.2
63
+ type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '4.3'
69
+ version: '2.0'
70
70
  - - ">="
71
71
  - !ruby/object:Gem::Version
72
- version: 4.3.2
72
+ version: 2.0.2
73
73
  - !ruby/object:Gem::Dependency
74
- name: rails
74
+ name: prawn-table
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
- - - '='
77
+ - - "~>"
78
+ - !ruby/object:Gem::Version
79
+ version: '0.2'
80
+ - - ">="
78
81
  - !ruby/object:Gem::Version
79
- version: 4.0.0
82
+ version: 0.2.2
80
83
  type: :runtime
81
84
  prerelease: false
82
85
  version_requirements: !ruby/object:Gem::Requirement
83
86
  requirements:
84
- - - '='
87
+ - - "~>"
85
88
  - !ruby/object:Gem::Version
86
- version: 4.0.0
89
+ version: '0.2'
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: 0.2.2
87
93
  - !ruby/object:Gem::Dependency
88
- name: libxml-ruby
94
+ name: gruff
89
95
  requirement: !ruby/object:Gem::Requirement
90
96
  requirements:
91
- - - '='
97
+ - - "~>"
98
+ - !ruby/object:Gem::Version
99
+ version: '0.6'
100
+ - - ">="
92
101
  - !ruby/object:Gem::Version
93
- version: 2.4.0
102
+ version: 0.6.0
94
103
  type: :runtime
95
104
  prerelease: false
96
105
  version_requirements: !ruby/object:Gem::Requirement
97
106
  requirements:
98
- - - '='
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '0.6'
110
+ - - ">="
99
111
  - !ruby/object:Gem::Version
100
- version: 2.4.0
112
+ version: 0.6.0
101
113
  - !ruby/object:Gem::Dependency
102
- name: prawn
114
+ name: mysql2
103
115
  requirement: !ruby/object:Gem::Requirement
104
116
  requirements:
105
- - - '='
117
+ - - "~>"
118
+ - !ruby/object:Gem::Version
119
+ version: '0.4'
120
+ - - ">="
106
121
  - !ruby/object:Gem::Version
107
- version: 0.12.0
122
+ version: 0.4.2
108
123
  type: :runtime
109
124
  prerelease: false
110
125
  version_requirements: !ruby/object:Gem::Requirement
111
126
  requirements:
112
- - - '='
127
+ - - "~>"
128
+ - !ruby/object:Gem::Version
129
+ version: '0.4'
130
+ - - ">="
113
131
  - !ruby/object:Gem::Version
114
- version: 0.12.0
132
+ version: 0.4.2
115
133
  - !ruby/object:Gem::Dependency
116
- name: gruff
134
+ name: rmagick
117
135
  requirement: !ruby/object:Gem::Requirement
118
136
  requirements:
119
- - - '='
137
+ - - "~>"
120
138
  - !ruby/object:Gem::Version
121
- version: 0.3.7
139
+ version: '2.15'
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: 2.15.4
122
143
  type: :runtime
123
144
  prerelease: false
124
145
  version_requirements: !ruby/object:Gem::Requirement
125
146
  requirements:
126
- - - '='
147
+ - - "~>"
127
148
  - !ruby/object:Gem::Version
128
- version: 0.3.7
149
+ version: '2.15'
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: 2.15.4
129
153
  - !ruby/object:Gem::Dependency
130
- name: mysql2
154
+ name: sqlite3
131
155
  requirement: !ruby/object:Gem::Requirement
132
156
  requirements:
133
- - - '='
157
+ - - "~>"
134
158
  - !ruby/object:Gem::Version
135
- version: 0.3.11
159
+ version: '1.3'
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: 1.3.11
136
163
  type: :runtime
137
164
  prerelease: false
138
165
  version_requirements: !ruby/object:Gem::Requirement
139
166
  requirements:
140
- - - '='
167
+ - - "~>"
141
168
  - !ruby/object:Gem::Version
142
- version: 0.3.11
169
+ version: '1.3'
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: 1.3.11
143
173
  - !ruby/object:Gem::Dependency
144
- name: rmagick
174
+ name: nokogiri
145
175
  requirement: !ruby/object:Gem::Requirement
146
176
  requirements:
147
- - - '='
177
+ - - "~>"
178
+ - !ruby/object:Gem::Version
179
+ version: '1.6'
180
+ - - ">="
148
181
  - !ruby/object:Gem::Version
149
- version: 2.13.4
182
+ version: 1.6.7
150
183
  type: :runtime
151
184
  prerelease: false
152
185
  version_requirements: !ruby/object:Gem::Requirement
153
186
  requirements:
154
- - - '='
187
+ - - "~>"
188
+ - !ruby/object:Gem::Version
189
+ version: '1.6'
190
+ - - ">="
155
191
  - !ruby/object:Gem::Version
156
- version: 2.13.4
192
+ version: 1.6.7
157
193
  - !ruby/object:Gem::Dependency
158
- name: sqlite3
194
+ name: simplecov
159
195
  requirement: !ruby/object:Gem::Requirement
160
196
  requirements:
161
- - - '='
197
+ - - "~>"
162
198
  - !ruby/object:Gem::Version
163
- version: 1.3.7
164
- type: :runtime
199
+ version: '0.11'
200
+ - - ">="
201
+ - !ruby/object:Gem::Version
202
+ version: 0.11.1
203
+ type: :development
165
204
  prerelease: false
166
205
  version_requirements: !ruby/object:Gem::Requirement
167
206
  requirements:
168
- - - '='
207
+ - - "~>"
169
208
  - !ruby/object:Gem::Version
170
- version: 1.3.7
209
+ version: '0.11'
210
+ - - ">="
211
+ - !ruby/object:Gem::Version
212
+ version: 0.11.1
171
213
  - !ruby/object:Gem::Dependency
172
- name: nokogiri
214
+ name: yard
173
215
  requirement: !ruby/object:Gem::Requirement
174
216
  requirements:
175
- - - '='
217
+ - - "~>"
176
218
  - !ruby/object:Gem::Version
177
- version: 1.6.0
178
- type: :runtime
219
+ version: '0.8'
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: 0.8.0
223
+ type: :development
179
224
  prerelease: false
180
225
  version_requirements: !ruby/object:Gem::Requirement
181
226
  requirements:
182
- - - '='
227
+ - - "~>"
183
228
  - !ruby/object:Gem::Version
184
- version: 1.6.0
229
+ version: '0.8'
230
+ - - ">="
231
+ - !ruby/object:Gem::Version
232
+ version: 0.8.0
233
+ - !ruby/object:Gem::Dependency
234
+ name: minitest
235
+ requirement: !ruby/object:Gem::Requirement
236
+ requirements:
237
+ - - "~>"
238
+ - !ruby/object:Gem::Version
239
+ version: '5.0'
240
+ - - ">="
241
+ - !ruby/object:Gem::Version
242
+ version: 5.8.3
243
+ type: :development
244
+ prerelease: false
245
+ version_requirements: !ruby/object:Gem::Requirement
246
+ requirements:
247
+ - - "~>"
248
+ - !ruby/object:Gem::Version
249
+ version: '5.0'
250
+ - - ">="
251
+ - !ruby/object:Gem::Version
252
+ version: 5.8.3
253
+ - !ruby/object:Gem::Dependency
254
+ name: test-unit
255
+ requirement: !ruby/object:Gem::Requirement
256
+ requirements:
257
+ - - "~>"
258
+ - !ruby/object:Gem::Version
259
+ version: '3.1'
260
+ - - ">="
261
+ - !ruby/object:Gem::Version
262
+ version: 3.1.5
263
+ type: :development
264
+ prerelease: false
265
+ version_requirements: !ruby/object:Gem::Requirement
266
+ requirements:
267
+ - - "~>"
268
+ - !ruby/object:Gem::Version
269
+ version: '3.1'
270
+ - - ">="
271
+ - !ruby/object:Gem::Version
272
+ version: 3.1.5
185
273
  description: risu is a Nessus .nessus XML parser and report generation tool
186
- email: jacob.hammack@hammackj.com
274
+ email: risu@arxopia.com
187
275
  executables:
188
276
  - risu
189
277
  extensions: []
@@ -193,7 +281,6 @@ extra_rdoc_files:
193
281
  - NEWS.markdown
194
282
  files:
195
283
  - Gemfile
196
- - Gemfile.ci
197
284
  - Gemfile.lock
198
285
  - LICENSE
199
286
  - NEWS.markdown
@@ -218,6 +305,9 @@ files:
218
305
  - lib/risu/cli/banner.rb
219
306
  - lib/risu/exceptions.rb
220
307
  - lib/risu/exceptions/invaliddocument.rb
308
+ - lib/risu/graphs.rb
309
+ - lib/risu/graphs/top_vuln_graph.rb
310
+ - lib/risu/graphs/windows_os_graph.rb
221
311
  - lib/risu/models.rb
222
312
  - lib/risu/models/attachment.rb
223
313
  - lib/risu/models/familyselection.rb
@@ -242,6 +332,7 @@ files:
242
332
  - lib/risu/parsers/nessus/postprocess/adobe_air.rb
243
333
  - lib/risu/parsers/nessus/postprocess/adobe_reader.rb
244
334
  - lib/risu/parsers/nessus/postprocess/apache.rb
335
+ - lib/risu/parsers/nessus/postprocess/apache_tomcat.rb
245
336
  - lib/risu/parsers/nessus/postprocess/apple_quicktime.rb
246
337
  - lib/risu/parsers/nessus/postprocess/blackberry_enterprise_server.rb
247
338
  - lib/risu/parsers/nessus/postprocess/ca_brightstor_arcserve.rb
@@ -281,6 +372,7 @@ files:
281
372
  - lib/risu/renderers/csvrenderer.rb
282
373
  - lib/risu/renderers/nilrenderer.rb
283
374
  - lib/risu/renderers/pdfrenderer.rb
375
+ - lib/risu/template_helpers.rb
284
376
  - lib/risu/templates/assets.rb
285
377
  - lib/risu/templates/cover_sheet.rb
286
378
  - lib/risu/templates/data/nessuslogo.jpg
@@ -308,8 +400,9 @@ files:
308
400
  - lib/risu/templates/technical_findings.rb
309
401
  - lib/risu/templates/template.rb
310
402
  - lib/risu/templates/top_25.rb
403
+ - lib/risu/version.rb
311
404
  - risu.gemspec
312
- homepage: https://github.com/arxopia/risu
405
+ homepage: https://arxopia.github.io/risu/
313
406
  licenses:
314
407
  - BSD
315
408
  metadata: {}
@@ -326,11 +419,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
326
419
  requirements:
327
420
  - - ">="
328
421
  - !ruby/object:Gem::Version
329
- version: 1.8.24
422
+ version: '0'
330
423
  requirements: []
331
424
  rubyforge_project: risu
332
- rubygems_version: 2.2.2
425
+ rubygems_version: 2.4.5.1
333
426
  signing_key:
334
427
  specification_version: 4
335
428
  summary: risu
336
429
  test_files: []
430
+ has_rdoc: yard