risu 1.6.3 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +12 -0
- data/Gemfile.ci +9 -9
- data/Gemfile.lock +118 -0
- data/LICENSE +1 -1
- data/NEWS.markdown +98 -0
- data/README.markdown +10 -3
- data/Rakefile +2 -2
- data/bin/risu +3 -3
- data/lib/risu.rb +6 -2
- data/lib/risu/base.rb +10 -3
- data/lib/risu/base/graph_template_helper.rb +71 -0
- data/lib/risu/base/host_template_helper.rb +75 -0
- data/lib/risu/base/malware_template_helper.rb +96 -0
- data/lib/risu/base/post_process_base.rb +210 -0
- data/lib/risu/base/post_process_manager.rb +120 -0
- data/lib/risu/base/schema.rb +10 -7
- data/lib/risu/base/shares_template_helper.rb +158 -0
- data/lib/risu/base/template_base.rb +12 -10
- data/lib/risu/base/template_helper.rb +105 -3
- data/lib/risu/base/template_manager.rb +16 -12
- data/lib/risu/base/templater.rb +23 -9
- data/lib/risu/cli.rb +1 -1
- data/lib/risu/cli/application.rb +23 -17
- data/lib/risu/cli/banner.rb +3 -3
- data/lib/risu/exceptions.rb +1 -1
- data/lib/risu/exceptions/invaliddocument.rb +1 -1
- data/lib/risu/models.rb +1 -1
- data/lib/risu/models/attachment.rb +3 -3
- data/lib/risu/models/familyselection.rb +3 -3
- data/lib/risu/models/host.rb +74 -9
- data/lib/risu/models/hostproperty.rb +3 -3
- data/lib/risu/models/individualpluginselection.rb +3 -3
- data/lib/risu/models/item.rb +92 -29
- data/lib/risu/models/patch.rb +3 -3
- data/lib/risu/models/plugin.rb +30 -2
- data/lib/risu/models/pluginspreference.rb +1 -1
- data/lib/risu/models/policy.rb +1 -1
- data/lib/risu/models/reference.rb +1 -1
- data/lib/risu/models/report.rb +1 -2
- data/lib/risu/models/serverpreference.rb +1 -1
- data/lib/risu/models/servicedescription.rb +3 -3
- data/lib/risu/models/version.rb +1 -1
- data/lib/risu/parsers.rb +1 -1
- data/lib/risu/parsers/nessus/nessus_document.rb +3 -3
- data/lib/risu/parsers/nessus/nessus_sax_listener.rb +23 -16
- data/lib/risu/parsers/nessus/postprocess.rb +3 -6
- data/lib/risu/parsers/nessus/postprocess/adobe_air.rb +82 -0
- data/lib/risu/parsers/nessus/postprocess/adobe_reader.rb +86 -0
- data/lib/risu/parsers/nessus/postprocess/apache.rb +67 -0
- data/lib/risu/parsers/nessus/postprocess/core_ftp.rb +52 -0
- data/lib/risu/parsers/nessus/postprocess/flash_player.rb +104 -0
- data/lib/risu/parsers/nessus/postprocess/flexnet.rb +53 -0
- data/lib/risu/parsers/nessus/postprocess/google_chrome.rb +52 -0
- data/lib/risu/parsers/nessus/postprocess/hp_system_mgt_homepage.rb +60 -0
- data/lib/risu/parsers/nessus/postprocess/java.rb +49 -198
- data/lib/risu/parsers/nessus/postprocess/openssh.rb +65 -0
- data/lib/risu/parsers/nessus/postprocess/openssl.rb +54 -0
- data/lib/risu/parsers/nessus/postprocess/oracle_database.rb +84 -0
- data/lib/risu/parsers/nessus/postprocess/php.rb +62 -0
- data/lib/risu/parsers/nessus/postprocess/post_process.rb +178 -0
- data/lib/risu/parsers/nessus/postprocess/risk_score.rb +10 -5
- data/lib/risu/parsers/nessus/postprocess/root_cause.rb +375 -0
- data/lib/risu/parsers/nessus/postprocess/servu.rb +57 -0
- data/lib/risu/parsers/nessus/postprocess/shockwave.rb +73 -0
- data/lib/risu/parsers/nessus/postprocess/windows.rb +57 -0
- data/lib/risu/parsers/nessus/postprocess/wireshark.rb +72 -0
- data/lib/risu/parsers/nexpose/nexpose_document.rb +1 -1
- data/lib/risu/parsers/nexpose/simple_nexpose.rb +1 -1
- data/lib/risu/renderers.rb +3 -1
- data/lib/risu/renderers/csvrenderer.rb +53 -0
- data/lib/risu/renderers/nilrenderer.rb +1 -1
- data/lib/risu/renderers/pdfrenderer.rb +57 -0
- data/lib/risu/templates/assets.rb +5 -4
- data/lib/risu/templates/cover_sheet.rb +4 -3
- data/lib/risu/templates/exec_summary.rb +4 -3
- data/lib/risu/templates/executive_summary_detailed.rb +9 -8
- data/lib/risu/templates/exploitablity_summary.rb +82 -0
- data/lib/risu/templates/failed_audits.rb +98 -0
- data/lib/risu/templates/finding_statistics.rb +2 -1
- data/lib/risu/templates/findings_host.rb +20 -22
- data/lib/risu/templates/findings_summary.rb +11 -9
- data/lib/risu/templates/findings_summary_with_pluginid.rb +31 -85
- data/lib/risu/templates/graphs.rb +9 -10
- data/lib/risu/templates/host_findings_csv.rb +67 -0
- data/lib/risu/templates/host_summary.rb +2 -1
- data/lib/risu/templates/malicious_process_detection.rb +2 -1
- data/lib/risu/templates/missing_root_causes.rb +162 -0
- data/lib/risu/templates/ms_patch_summary.rb +3 -2
- data/lib/risu/templates/ms_update_summary.rb +5 -4
- data/lib/risu/templates/ms_wsus_findings.rb +5 -4
- data/lib/risu/templates/notable.rb +7 -11
- data/lib/risu/templates/notable_detailed.rb +7 -4
- data/lib/risu/templates/pci_compliance.rb +5 -4
- data/lib/risu/templates/stig_findings_summary.rb +5 -4
- data/lib/risu/templates/talking_points.rb +164 -0
- data/lib/risu/templates/technical_findings.rb +8 -4
- data/lib/risu/templates/template.rb +3 -2
- data/lib/risu/templates/top_25.rb +115 -0
- data/risu.gemspec +16 -15
- metadata +142 -77
@@ -0,0 +1,375 @@
|
|
1
|
+
# Copyright (c) 2010-2014 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 Parsers
|
29
|
+
module Nessus
|
30
|
+
module PostProcess
|
31
|
+
class RootCauses < Risu::Base::PostProcessBase
|
32
|
+
|
33
|
+
#
|
34
|
+
def initialize
|
35
|
+
@info =
|
36
|
+
{
|
37
|
+
:description => "Root Cause Mapper",
|
38
|
+
:plugin_id => 0
|
39
|
+
}
|
40
|
+
|
41
|
+
@plugins_to_cause = {
|
42
|
+
22194 => "Vendor Patch",
|
43
|
+
34477 => "Vendor Patch",
|
44
|
+
35362 => "Vendor Patch",
|
45
|
+
40887 => "Vendor Patch",
|
46
|
+
53514 => "Vendor Patch",
|
47
|
+
58435 => "Vendor Patch",
|
48
|
+
22034 => "Vendor Patch",
|
49
|
+
63643 => "Vendor Patch",
|
50
|
+
25905 => "Vendor Patch",
|
51
|
+
28227 => "Vendor Patch",
|
52
|
+
33128 => "Vendor Patch",
|
53
|
+
29924 => "Vendor Patch",
|
54
|
+
32194 => "Vendor Patch",
|
55
|
+
51840 => "Vendor Patch",
|
56
|
+
70612 => "Vendor Patch",
|
57
|
+
45415 => "Vendor Patch",
|
58
|
+
45418 => "Vendor Patch",
|
59
|
+
45419 => "Vendor Patch",
|
60
|
+
73917 => "Vendor Patch",
|
61
|
+
73412 => "Vendor Patch",
|
62
|
+
74326 => "Vendor Patch",
|
63
|
+
34475 => "Vendor Patch",
|
64
|
+
24699 => "Vendor Patch",
|
65
|
+
36132 => "Vendor Patch",
|
66
|
+
45416 => "Vendor Patch",
|
67
|
+
45417 => "Vendor Patch",
|
68
|
+
60098 => "Vendor Patch",
|
69
|
+
74470 => "Vendor Patch",
|
70
|
+
71774 => "Vendor Patch",
|
71
|
+
76457 => "Vendor Patch",
|
72
|
+
34501 => "Vendor Patch",
|
73
|
+
36216 => "Vendor Patch",
|
74
|
+
38978 => "Vendor Patch",
|
75
|
+
42044 => "Vendor Patch",
|
76
|
+
44588 => "Vendor Patch",
|
77
|
+
45429 => "Vendor Patch",
|
78
|
+
46173 => "Vendor Patch",
|
79
|
+
49690 => "Vendor Patch",
|
80
|
+
59644 => "Vendor Patch",
|
81
|
+
70216 => "Vendor Patch",
|
82
|
+
-99999 => "Vendor Patch",
|
83
|
+
-99998 => "Vendor Patch",
|
84
|
+
-99995 => "Vendor Patch",
|
85
|
+
24712 => "Vendor Patch",
|
86
|
+
25371 => "Vendor Patch",
|
87
|
+
-99997 => "Vendor Patch",
|
88
|
+
-99994 => "Vendor Patch",
|
89
|
+
-99992 => "Vendor Patch",
|
90
|
+
-99991 => "Vendor Patch",
|
91
|
+
-99989 => "Vendor Patch",
|
92
|
+
55976 => "Vendor Patch",
|
93
|
+
58597 => "Vendor Patch",
|
94
|
+
58848 => "Vendor Patch",
|
95
|
+
73984 => "Vendor Patch",
|
96
|
+
10043 => "Vendor Patch",
|
97
|
+
58659 => "Vendor Patch",
|
98
|
+
76123 => "Vendor Patch",
|
99
|
+
27599 => "Vendor Patch",
|
100
|
+
51894 => "Vendor Patch",
|
101
|
+
51895 => "Vendor Patch",
|
102
|
+
46738 => "Vendor Patch",
|
103
|
+
32313 => "Vendor Patch",
|
104
|
+
44073 => "Vendor Patch",
|
105
|
+
49274 => "Vendor Patch",
|
106
|
+
51178 => "Vendor Patch",
|
107
|
+
62465 => "Vendor Patch",
|
108
|
+
69327 => "Vendor Patch",
|
109
|
+
61529 => "Vendor Patch",
|
110
|
+
51352 => "Vendor Patch",
|
111
|
+
53377 => "Vendor Patch",
|
112
|
+
53503 => "Vendor Patch",
|
113
|
+
12209 => "Vendor Patch",
|
114
|
+
18502 => "Vendor Patch",
|
115
|
+
19407 => "Vendor Patch",
|
116
|
+
44422 => "Vendor Patch",
|
117
|
+
76281 => "Vendor Patch",
|
118
|
+
58119 => "Vendor Patch",
|
119
|
+
15555 => "Vendor Patch",
|
120
|
+
12106 => "Vendor Patch",
|
121
|
+
10951 => "Vendor Patch",
|
122
|
+
10380 => "Vendor Patch",
|
123
|
+
71994 => "Vendor Patch",
|
124
|
+
71993 => "Vendor Patch",
|
125
|
+
72542 => "Vendor Patch",
|
126
|
+
70335 => "Vendor Patch",
|
127
|
+
63419 => "Vendor Patch",
|
128
|
+
57796 => "Vendor Patch",
|
129
|
+
55819 => "Vendor Patch",
|
130
|
+
21655 => "Vendor Patch",
|
131
|
+
21193 => "Vendor Patch",
|
132
|
+
19408 => "Vendor Patch",
|
133
|
+
13852 => "Vendor Patch",
|
134
|
+
-99988 => "Vendor Patch",
|
135
|
+
-99993 => "Vendor Patch",
|
136
|
+
48405 => "Vendor Patch",
|
137
|
+
48291 => "Vendor Patch",
|
138
|
+
47556 => "Vendor Patch",
|
139
|
+
53382 => "Vendor Patch",
|
140
|
+
63420 => "Vendor Patch",
|
141
|
+
59906 => "Vendor Patch",
|
142
|
+
46843 => "Vendor Patch",
|
143
|
+
61535 => "Vendor Patch",
|
144
|
+
73805 => "Vendor Patch",
|
145
|
+
73415 => "Vendor Patch",
|
146
|
+
73416 => "Vendor Patch",
|
147
|
+
48297 => "Vendor Patch",
|
148
|
+
59043 => "Vendor Patch",
|
149
|
+
59909 => "Vendor Patch",
|
150
|
+
70846 => "Vendor Patch",
|
151
|
+
70847 => "Vendor Patch",
|
152
|
+
70848 => "Vendor Patch",
|
153
|
+
71312 => "Vendor Patch",
|
154
|
+
71313 => "Vendor Patch",
|
155
|
+
71314 => "Vendor Patch",
|
156
|
+
71316 => "Vendor Patch",
|
157
|
+
72433 => "Vendor Patch",
|
158
|
+
72434 => "Vendor Patch",
|
159
|
+
72930 => "Vendor Patch",
|
160
|
+
74428 => "Vendor Patch",
|
161
|
+
59042 => "Vendor Patch",
|
162
|
+
59044 => "Vendor Patch",
|
163
|
+
59455 => "Vendor Patch",
|
164
|
+
59459 => "Vendor Patch",
|
165
|
+
59460 => "Vendor Patch",
|
166
|
+
59908 => "Vendor Patch",
|
167
|
+
59910 => "Vendor Patch",
|
168
|
+
59911 => "Vendor Patch",
|
169
|
+
61527 => "Vendor Patch",
|
170
|
+
61530 => "Vendor Patch",
|
171
|
+
62045 => "Vendor Patch",
|
172
|
+
62223 => "Vendor Patch",
|
173
|
+
62463 => "Vendor Patch",
|
174
|
+
62907 => "Vendor Patch",
|
175
|
+
63224 => "Vendor Patch",
|
176
|
+
63225 => "Vendor Patch",
|
177
|
+
63228 => "Vendor Patch",
|
178
|
+
63229 => "Vendor Patch",
|
179
|
+
63522 => "Vendor Patch",
|
180
|
+
64570 => "Vendor Patch",
|
181
|
+
64571 => "Vendor Patch",
|
182
|
+
64577 => "Vendor Patch",
|
183
|
+
64578 => "Vendor Patch",
|
184
|
+
65210 => "Vendor Patch",
|
185
|
+
65875 => "Vendor Patch",
|
186
|
+
65878 => "Vendor Patch",
|
187
|
+
65883 => "Vendor Patch",
|
188
|
+
66412 => "Vendor Patch",
|
189
|
+
66422 => "Vendor Patch",
|
190
|
+
66423 => "Vendor Patch",
|
191
|
+
66863 => "Vendor Patch",
|
192
|
+
67209 => "Vendor Patch",
|
193
|
+
67210 => "Vendor Patch",
|
194
|
+
67211 => "Vendor Patch",
|
195
|
+
67212 => "Vendor Patch",
|
196
|
+
69324 => "Vendor Patch",
|
197
|
+
69328 => "Vendor Patch",
|
198
|
+
69829 => "Vendor Patch",
|
199
|
+
69835 => "Vendor Patch",
|
200
|
+
70332 => "Vendor Patch",
|
201
|
+
70333 => "Vendor Patch",
|
202
|
+
71942 => "Vendor Patch",
|
203
|
+
72931 => "Vendor Patch",
|
204
|
+
25167 => "Vendor Patch",
|
205
|
+
27525 => "Vendor Patch",
|
206
|
+
73417 => "Vendor Patch",
|
207
|
+
53532 => "Vendor Patch",
|
208
|
+
58811 => "Vendor Patch",
|
209
|
+
25492 => "Vendor Patch",
|
210
|
+
31419 => "Vendor Patch",
|
211
|
+
58327 => "Vendor Patch",
|
212
|
+
68931 => "Vendor Patch",
|
213
|
+
59851 => "Vendor Patch",
|
214
|
+
66541 => "Vendor Patch",
|
215
|
+
70118 => "Vendor Patch",
|
216
|
+
69020 => "Vendor Patch",
|
217
|
+
76345 => "Vendor Patch",
|
218
|
+
49272 => "Vendor Patch",
|
219
|
+
11030 => "Vendor Patch",
|
220
|
+
11137 => "Vendor Patch",
|
221
|
+
11793 => "Vendor Patch",
|
222
|
+
11915 => "Vendor Patch",
|
223
|
+
31654 => "Vendor Patch",
|
224
|
+
35635 => "Vendor Patch",
|
225
|
+
11227 => "Vendor Patch",
|
226
|
+
12255 => "Vendor Patch",
|
227
|
+
13651 => "Vendor Patch",
|
228
|
+
44967 => "Vendor Patch",
|
229
|
+
71174 => "Vendor Patch",
|
230
|
+
72959 => "Vendor Patch",
|
231
|
+
10882 => "Vendor Patch",
|
232
|
+
51892 => "Vendor Patch",
|
233
|
+
51893 => "Vendor Patch",
|
234
|
+
44136 => "Vendor Patch",
|
235
|
+
49067 => "Vendor Patch",
|
236
|
+
62565 => "Vendor Patch",
|
237
|
+
10815 => "Vendor Patch",
|
238
|
+
12280 => "Vendor Patch",
|
239
|
+
17696 => "Vendor Patch",
|
240
|
+
22254 => "Vendor Patch",
|
241
|
+
76203 => "Vendor Patch",
|
242
|
+
11267 => "Vendor Patch",
|
243
|
+
12110 => "Vendor Patch",
|
244
|
+
39466 => "Vendor Patch",
|
245
|
+
65952 => "Vendor Patch",
|
246
|
+
70545 => "Vendor Patch",
|
247
|
+
-99985 => "Vendor Patch",
|
248
|
+
-99986 => "Vendor Patch",
|
249
|
+
71174 => "Vendor Patch",
|
250
|
+
72959 => "Vendor Patch",
|
251
|
+
25926 => "Vendor Patch",
|
252
|
+
11138 => "Vendor Patch",
|
253
|
+
47715 => "Vendor Patch",
|
254
|
+
63476 => "Vendor Patch",
|
255
|
+
39468 => "Vendor Patch",
|
256
|
+
-99983 => "Vendor Patch",
|
257
|
+
-99984 => "Vendor Patch",
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
33850 => "Vendor Support",
|
262
|
+
34460 => "Vendor Support",
|
263
|
+
73182 => "Vendor Support",
|
264
|
+
47709 => "Vendor Support",
|
265
|
+
56710 => "Vendor Support",
|
266
|
+
48762 => "Vendor Support",
|
267
|
+
62758 => "Vendor Support",
|
268
|
+
72704 => "Vendor Support",
|
269
|
+
48761 => "Vendor Support",
|
270
|
+
26928 => "Vendor Support",
|
271
|
+
12217 => "Vendor Support",
|
272
|
+
35291 => "Vendor Support",
|
273
|
+
42873 => "Vendor Support",
|
274
|
+
42880 => "Vendor Support",
|
275
|
+
62974 => "Vendor Support",
|
276
|
+
20007 => "Vendor Support",
|
277
|
+
22313 => "Vendor Support",
|
278
|
+
56210 => "Vendor Support",
|
279
|
+
56211 => "Vendor Support",
|
280
|
+
58134 => "Vendor Support",
|
281
|
+
64784 => "Vendor Support",
|
282
|
+
55786 => "Vendor Support",
|
283
|
+
65642 => "Vendor Support",
|
284
|
+
19699 => "Vendor Support",
|
285
|
+
57859 => "Vendor Support",
|
286
|
+
56998 => "Vendor Support",
|
287
|
+
|
288
|
+
|
289
|
+
49071 => "Configuration",
|
290
|
+
41028 => "Configuration",
|
291
|
+
57582 => "Configuration",
|
292
|
+
45411 => "Configuration",
|
293
|
+
45417 => "Configuration",
|
294
|
+
57608 => "Configuration",
|
295
|
+
18405 => "Configuration",
|
296
|
+
57690 => "Configuration",
|
297
|
+
58453 => "Configuration",
|
298
|
+
15901 => "Configuration",
|
299
|
+
26920 => "Configuration",
|
300
|
+
26919 => "Configuration",
|
301
|
+
51368 => "Configuration",
|
302
|
+
63155 => "Configuration",
|
303
|
+
65057 => "Configuration",
|
304
|
+
51192 => "Configuration",
|
305
|
+
63478 => "Configuration",
|
306
|
+
10079 => "Configuration",
|
307
|
+
42411 => "Configuration",
|
308
|
+
26925 => "Configuration",
|
309
|
+
66174 => "Configuration",
|
310
|
+
10862 => "Configuration",
|
311
|
+
10264 => "Configuration",
|
312
|
+
10297 => "Configuration",
|
313
|
+
57640 => "Configuration",
|
314
|
+
71783 => "Configuration",
|
315
|
+
11213 => "Configuration",
|
316
|
+
57792 => "Configuration",
|
317
|
+
74442 => "Configuration",
|
318
|
+
11457 => "Configuration",
|
319
|
+
65821 => "Configuration",
|
320
|
+
30218 => "Configuration",
|
321
|
+
26194 => "Configuration",
|
322
|
+
70658 => "Configuration",
|
323
|
+
71049 => "Configuration",
|
324
|
+
10547 => "Configuration",
|
325
|
+
31705 => "Configuration",
|
326
|
+
34324 => "Configuration",
|
327
|
+
54582 => "Configuration",
|
328
|
+
69551 => "Configuration",
|
329
|
+
50504 => "Configuration",
|
330
|
+
10205 => "Configuration",
|
331
|
+
32315 => "Configuration",
|
332
|
+
43160 => "Configuration",
|
333
|
+
65950 => "Configuration",
|
334
|
+
42263 => "Configuration",
|
335
|
+
34850 => "Configuration",
|
336
|
+
50686 => "Configuration",
|
337
|
+
66848 => "Configuration",
|
338
|
+
47831 => "Configuration",
|
339
|
+
12085 => "Configuration",
|
340
|
+
25289 => "Configuration",
|
341
|
+
10056 => "Configuration",
|
342
|
+
10188 => "Configuration",
|
343
|
+
10660 => "Configuration",
|
344
|
+
11411 => "Configuration",
|
345
|
+
10722 => "Configuration",
|
346
|
+
10056 => "Configuration",
|
347
|
+
10660 => "Configuration",
|
348
|
+
10595 => "Configuration",
|
349
|
+
11714 => "Configuration",
|
350
|
+
10203 => "Configuration",
|
351
|
+
29224 => "Configuration",
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
}
|
356
|
+
end
|
357
|
+
|
358
|
+
#
|
359
|
+
def run
|
360
|
+
@plugins_to_cause.each do |k, v|
|
361
|
+
plugin = Plugin.where(:id => k).first
|
362
|
+
|
363
|
+
if plugin == nil
|
364
|
+
next
|
365
|
+
end
|
366
|
+
|
367
|
+
plugin.root_cause = v
|
368
|
+
plugin.save
|
369
|
+
end
|
370
|
+
end
|
371
|
+
end
|
372
|
+
end
|
373
|
+
end
|
374
|
+
end
|
375
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# Copyright (c) 2010-2014 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 Parsers
|
29
|
+
module Nessus
|
30
|
+
module PostProcess
|
31
|
+
class ServU < Risu::Base::PostProcessBase
|
32
|
+
|
33
|
+
#
|
34
|
+
def initialize
|
35
|
+
@info =
|
36
|
+
{
|
37
|
+
:description => "Serv-U Patch Rollup",
|
38
|
+
:plugin_id => -99996,
|
39
|
+
:plugin_name => "Update to the latest Serv-U",
|
40
|
+
:item_name => "Update to the latest Serv-U",
|
41
|
+
:plugin_ids => [
|
42
|
+
36035,
|
43
|
+
41980,
|
44
|
+
48435,
|
45
|
+
69060,
|
46
|
+
71863,
|
47
|
+
72658,
|
48
|
+
76369,
|
49
|
+
|
50
|
+
]
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,73 @@
|
|
1
|
+
# Copyright (c) 2010-2014 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 Parsers
|
29
|
+
module Nessus
|
30
|
+
module PostProcess
|
31
|
+
class Shockwave < Risu::Base::PostProcessBase
|
32
|
+
|
33
|
+
#
|
34
|
+
def initialize
|
35
|
+
@info =
|
36
|
+
{
|
37
|
+
:description => "Shockwave Player Patch Rollup",
|
38
|
+
:plugin_id => -99991,
|
39
|
+
:plugin_name => "Update to the latest Shockwave Player",
|
40
|
+
:item_name => "Update to the latest Shockwave Player",
|
41
|
+
:plugin_ids => [
|
42
|
+
72435,
|
43
|
+
72983,
|
44
|
+
42369,
|
45
|
+
51936,
|
46
|
+
71342,
|
47
|
+
44094,
|
48
|
+
39564,
|
49
|
+
40421,
|
50
|
+
44094,
|
51
|
+
46329,
|
52
|
+
48436,
|
53
|
+
50387,
|
54
|
+
55142,
|
55
|
+
55833,
|
56
|
+
56734,
|
57
|
+
57941,
|
58
|
+
59047,
|
59
|
+
61536,
|
60
|
+
62702,
|
61
|
+
64621,
|
62
|
+
65913,
|
63
|
+
67233,
|
64
|
+
69844,
|
65
|
+
|
66
|
+
]
|
67
|
+
}
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|