This repository has been archived by the owner on Feb 2, 2021. It is now read-only.
forked from ohsh6o/vulsrepo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
583 lines (545 loc) · 30.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
<!doctype html>
<head>
<meta charset="utf-8">
<html manifest=".appcache" type="text/cache-manifest">
<title>VulsRepo</title>
<!-- jqueryUI -->
<link href="plugins/jquery-ui/jquery-ui.min.css" rel="stylesheet" type="text/css" />
<!-- bootstrap -->
<link href="plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<!-- bootstrapSwitch -->
<link href="plugins/bootstrapSwitch/bootstrap-switch.min.css" rel="stylesheet" type="text/css" />
<!-- c3.js -->
<link href="plugins/c3.js/c3.min.css" rel="stylesheet" type="text/css" />
<!-- pivot.js -->
<link href="plugins/pivot.js/pivot.min.css" rel="stylesheet" type="text/css" />
<!-- dynatree.js -->
<link href="plugins/dynatree.js/skin-vista/ui.dynatree.css" rel="stylesheet" type="text/css" />
<!-- bootstrap-drawer -->
<link href="plugins/bootstrap-drawer/css/bootstrap-drawer.min.css" rel="stylesheet" type="text/css" />
<!-- bootstrap-vertical-tabs -->
<link href="plugins/bootstrap-vertical-tabs/bootstrap.vertical-tabs.min.css" rel="stylesheet" type="text/css" />
<!-- datatables.js -->
<link href="plugins/datatables/datatables.min.css" rel="stylesheet" type="text/css" />
<!-- colorbox.js -->
<link href="plugins/colorbox/colorbox.css" rel="stylesheet" type="text/css" />
<!-- main -->
<link href="dist/css/index.css" rel="stylesheet" type="text/css" />
</head>
<body class="has-drawer">
<div id="drawerLeft" class="drawer dw-xs-6 dw-sm-4 dw-md-2 fold" aria-labelledby="drawerLeft">
<div class="drawer-controls">
<a href="#drawerLeft" data-toggle="drawer" aria-foldedopen="false" aria-controls="docDrawer" class="btn btn-default folded" aria-expanded="false"><i class="glyphicon glyphicon-align-justify"></i></a>
</div>
<div class="drawer-contents">
<div class="drawer-heading">
<h3 class="drawer-title">Select File</h3>
</div>
<div class="drawer-body">
<div>
<button type="submit" class="btn btn-primary my-button submitSelectfile">
Submit
</button>
</div>
<div>
<p>
<a href="#" id="btnSelectAll">Select all</a> - <a href="#" id="btnDeselectAll">Deselect all</a>
</p>
</div>
<div id="folderTree"></div>
<div>
<button type="submit" class="btn btn-primary my-button submitSelectfile">
Submit
</button>
</div>
</div>
<div class="drawer-footer">
<small>VulsRepo ©2017 usiusi360 ©2019 ishiDACo</small>
</div>
</div>
</div>
<nav class="navbar navbar-inverse">
<div class="navbar-header">
<a id="toolName" class="navbar-brand">VulsRepo</a>
</div>
<div class="collapse navbar-collapse">
<button id="Setting" type="button" class="btn btn-default navbar-btn glyphicon glyphicon-wrench pull-right"></button>
<button id="pivot-link" type="button" class="btn btn-default navbar-btn glyphicon glyphicon-link pull-right" style="margin-right:10px;"></button>
</div>
</nav>
<div class="container-fluid">
<table>
<tr>
<td>
<div>
<div class="dropdown box">
<div class="btn-group btn-default my-input-pos">
<button type="button" class="btn btn-default">
<span id="drop_topmenu_visibleValue">Select setting</span>
</button>
<button type="button" class="btn dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu" id="drop_topmenu"></ul>
<input type="hidden" id="drop_topmenu_hiddenValue" value=""></input>
</div>
<button type="submit" class="btn btn-primary my-button" id="save_pivot_conf">
Save
</button>
<button type="submit" class="btn btn-default my-button" id="delete_pivot_conf">
Delete
</button>
<button type="submit" class="btn btn-default my-button" id="clear_pivot_conf" style="margin-left: 15px;">
Clear
</button>
<span class="label" id="label_pivot_conf"></span>
<span class="alert alert-success" id="alert_pivot_conf">Success</span>
</div>
</div>
<div id="pivot_base"></div>
</td>
</tr>
</table>
</div>
<div class="modal fade" id="modal-detail" tabindex="-1" aria-labelledby="myLargeModalLabel">
<div class="modal-dialog">
<div class="modal-content large">
<div class="modal-header bg-info">
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title" id="modal-label"></h4>
</div>
<div class="modal-body" style="padding-right: 0px;padding-left: 5px; padding-bottom: 0px;">
<div class="panel">
<div class="panel-body" style="padding-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px;">
<div class="col-xs-1" style="padding-left: 0px; padding-right: 0px; width: 50px;">
<ul class="nav nav-tabs tabs-left sideways">
<li class="active">
<a href="#main-r" data-toggle="tab">Main</a>
</li>
<li>
<a href="#package-r" data-toggle="tab">Package</a>
</li>
</ul>
</div>
<div class="col-xs-11" style="padding-left: 0px; padding-right: 0px;">
<div class="tab-content">
<div class="tab-pane active" id="main-r">
<div class="panel panel-info">
<div class="panel-body" id="cvss-detail">
<p class="bg-primary">
CVSS Detail
</p>
<div class="col-xs-8">
<table class="table table-hover table-condensed font-size-small">
<tr class="active">
<th>Type</th>
<th>Score
<div id="tooltip_score" class="glyphicon glyphicon-question-sign"></div>
</th>
<th>Summary</th>
<th>LastModified Date</th>
</tr>
<tr>
<td id="typeName_nvd"></td>
<td id="scoreText_nvd"></td>
<td id="summary_nvd" rowspan="2"></td>
<td id="lastModified_nvd" rowspan="2"></td>
</tr>
<tr>
<td id="typeName_nvdV3"></td>
<td id="scoreText_nvdV3"></td>
<td id="summary_nvdV3" hidden></td>
<td id="lastModified_nvdV3" hidden></td>
</tr>
<tr>
<td id="typeName_jvn"></td>
<td id="scoreText_jvn"></td>
<td id="summary_jvn" rowspan="2"></td>
<td id="lastModified_jvn" rowspan="2"></td>
</tr>
<tr>
<td id="typeName_jvnV3"></td>
<td id="scoreText_jvnV3"></td>
<td id="summary_jvnV3" hidden></td>
<td id="lastModified_jvnV3" hidden></td>
</tr>
<tr>
<td id="typeName_amazon"></td>
<td id="scoreText_amazon"></td>
<td id="summary_amazon"></td>
<td id="lastModified_amazon"></td>
</tr>
<tr>
<td id="typeName_redhat"></td>
<td id="scoreText_redhat"></td>
<td id="summary_redhat" rowspan="2"></td>
<td id="lastModified_redhat" rowspan="2"></td>
</tr>
<tr>
<td id="typeName_redhatV3"></td>
<td id="scoreText_redhatV3"></td>
<td id="summary_redhatV3" hidden></td>
<td id="lastModified_redhatV3" hidden></td>
</tr>
<tr>
<td id="typeName_ubuntu"></td>
<td id="scoreText_ubuntu"></td>
<td id="summary_ubuntu"></td>
<td id="lastModified_ubuntu"></td>
</tr>
<tr>
<td id="typeName_debian"></td>
<td id="scoreText_debian"></td>
<td id="summary_debian"></td>
<td id="lastModified_debian"></td>
</tr>
<tr>
<td id="typeName_oracle"></td>
<td id="scoreText_oracle"></td>
<td id="summary_oracle"></td>
<td id="lastModified_oracle"></td>
</tr>
</table>
</div>
<div class="col-xs-4" style="padding-left: 0px;">
<ul class="nav nav-tabs">
<li>
<a data-toggle="tab" href="#tab_chart_v2">CvssV2</a>
</li>
<li class="active">
<a data-toggle="tab" href="#tab_chart_v3">CvssV3</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane" id="tab_chart_v2">
<canvas id="radar-chartV2" width="380" height="380"></canvas>
<div id="radar-caluclatorV2" Align="center"></div>
</div>
<div class="tab-pane active" id="tab_chart_v3">
<canvas id="radar-chartV3" width="380" height="380"></canvas>
<div id="radar-caluclatorV3" Align="center"></div>
</div>
</div>
</div>
</div>
</div>
<p class="bg-primary">
CweID
</p>
<div id="CweID"></div>
<p class="bg-primary">
Links
</p>
<div id="Link"></div>
<section>
<div class="panel-group" id="panel-References">
<div class="panel panel-primary">
<div class="panel-heading">
<h4 class="panel-title accordion-toggle">
<a id="title-References" data-toggle="collapse" data-parent="#panel-References" href="#collapse-References">References<span id="count-References" class="badge">0</span></a>
</h4>
</div>
<div id="collapse-References" class="panel-collapse collapse">
<div class="panel-body">
<div id="References"></div>
</div>
</div>
</div>
</div>
</section>
</div>
<div class="tab-pane" id="package-r">
<table id="table-package" class="table table-bordered" cellspacing="0" width="100%">
<thead>
<tr>
<th>ScanTime</th>
<th>Server<br>Name</th>
<th>Container<br>Name</th>
<th>Package<br>Name</th>
<th>Package<br>Version</th>
<th>Package<br>Release</th>
<th>Package<br>NewVersion</th>
<th>Package<br>NewRelease</th>
<th>NotFixedYet</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="modal-alert" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header bg-danger">
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true">×</span>
</button>
<h5 class="modal-title" id="modal-label">ERROR</h5>
</div>
<div class="modal-body">
<p class="bg-danger">
Error Code
</p>
<div id="alert_error_code"></div>
<p class="bg-danger">
Response Text
</p>
<div id="alert_responce_text"></div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="modal-setting" tabindex="-1">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header bg-success">
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true">×</span>
</button>
<h5 class="modal-title" id="modal-label">SETTING</h5>
</div>
<div class="modal-body">
<div class="bs-callout bs-callout-primary">
<h4>Pivot Table</h4>
<br>
<div class="row">
<div class="col-sm-6">
<div class="panel panel-default">
<div class="panel-heading">
Show / Hide the Item
</div>
<div class="panel-body">
<div class="make-switch">
<input type="checkbox" name="chkPivotSummary" data-label-text="Summary" checked>
<input type="checkbox" name="chkPivotCvss" data-label-text="Cvss Metrics" checked>
</div>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="panel panel-default">
<div class="panel-heading">
Priority
</div>
<div class="panel-body">
<table>
<tbody>
<tr>
<td>1</td>
<td rowspan="7">
<ul id="pivot-priority">
</ul>
</td>
</tr>
<tr>
<td>2</td>
</tr>
<tr>
<td>3</td>
</tr>
<tr>
<td>4</td>
</tr>
<tr>
<td>5</td>
</tr>
<tr>
<td>6</td>
</tr>
<tr>
<td>7</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="modal-saveDiag" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header bg-success">
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true">×</span>
</button>
<h5 class="modal-title" id="modal-label">SAVE</h5>
</div>
<div class="modal-body">
<div class="form-group">
<div class="panel panel-default">
<div class="panel-heading">
Save new setting
</div>
<div class="panel-body">
<div class="radio">
<input type="radio" name="radio_setting" checked="checked">
<input type="text" id="input_saveDiag" class="form-control my-input my-input-pos" placeholder="Input setting name">
<label><span class="label label-warning" id="alert_saveDiag_textbox" style="display: none">Setting name cannot be empty.</span></label>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
Update setting
</div>
<div class="panel-body">
<div class="radio">
<input type="radio" name="radio_setting">
<div class="btn-group btn-default my-input-pos" id="drop_saveDiag_buttonGroup">
<button type="button" class="btn btn-default" disabled>
<span id="drop_saveDiag_visibleValue">Select setting</span>
</button>
<button type="button" class="btn dropdown-toggle" data-toggle="dropdown" disabled>
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu" id="drop_saveDiag"></ul>
<input type="hidden" id="drop_saveDiag_hiddenValue" value="">
</div>
</div>
<label><span class="label label-warning" id="alert_saveDiag_dropdown" style="display: none">Select setting.</span></label>
</div>
</div>
</div>
<div class="pull-right">
<button type="submit" class="btn btn-info my-button" id="ok_saveDiag">
OK
</button>
<button type="submit" class="btn btn-default my-button" id="cancel_saveDiag">
Cancel
</button>
</div>
<br>
<br>
</div>
</div>
</div>
</div>
<div class="modal fade" id="modal-viewUrl" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true">×</span>
</button>
<h5 class="modal-title" id="modal-label">URL</h5>
</div>
<div class="modal-body">
<div class="form-group">
<div class="panel panel-default">
<div class="panel-heading">Copy to clickboard</div>
<div class="panel-body">
<div class="input-group">
<input type="text" class="form-control" id="view_url_box">
<span class="input-group-btn">
<button class="btn btn-default glyphicon glyphicon-copy" type="button" data-clipboard-target="#view_url_box"></button>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="display:none">
<div id="changelog-content">
<div>
<table class="table table-condensed table-bordered table-package">
<tr class="info">
<th>CveID</th>
<th>Confidence-DetectionMethod
<a href="https://vuls.io/docs/en/usage-report.html#detailed-part" Target=”_blank”><span class="glyphicon glyphicon-question-sign question-sign-black"></span></a>
</th>
<th>Confidence-Score
<a href="https://vuls.io/docs/en/usage-report.html#detailed-part" Target=”_blank”><span class="glyphicon glyphicon-question-sign question-sign-black"></span></a>
</th>
</tr>
<tr>
<td id="changelog-cveid" class="changelog-targetcveid"></td>
<td id="changelog-method"></td>
<td id="changelog-score"></td>
</tr>
</table>
</div>
<div>
<table class="table table-condensed table-bordered">
<tr class="info">
<th>ServerName</th>
<th>ContainerName</th>
<th>PackageName</th>
<th>NotFixedYet</th>
</tr>
<tr>
<td id="changelog-servername"></td>
<td id="changelog-containername"></td>
<td id="changelog-packagename"></td>
<td id="changelog-notfixedyet"></td>
</tr>
</table>
</div>
<p class="bg-primary">
Changelog
</p>
<div id="changelog-contents"></div>
</div>
</div>
</body>
<!-- JS -->
<!-- jquery -->
<script src="plugins/jquery/jquery-3.2.0.min.js" type="text/javascript"></script>
<script src="plugins/pathseg/pathseg.js" type="text/javascript"></script>
<!-- jqueryUI -->
<script src="plugins/jquery-ui/jquery-ui.min.js" type="text/javascript"></script>
<script src="plugins/jquery.ui.touch-punch/jquery.ui.touch-punch.min.js" type="text/javascript"></script>
<!-- bootstrap -->
<script src="plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<!-- bootstrap Switch-->
<script src="plugins/bootstrapSwitch/bootstrap-switch.min.js" type="text/javascript"></script>
<!-- d3.js-->
<script src="plugins/d3.js/d3.min.js" type="text/javascript"></script>
<!-- c3.js -->
<script src="plugins/c3.js/c3.min.js" type="text/javascript"></script>
<!-- pivot.js -->
<script src="plugins/pivot.js/pivot.min.js" type="text/javascript"></script>
<script src="plugins/pivot.js/d3_renderers.min.js" type="text/javascript"></script>
<script src="plugins/pivot.js/c3_renderers.min.js" type="text/javascript"></script>
<!-- jquery.blockUI.js -->
<script src="plugins/jquery.blockUI/jquery.blockUI.js" type="text/javascript"></script>
<!-- jquery.xdomainajax -->
<script src="plugins/jquery.xdomainajax/jquery.xdomainajax.js" type="text/javascript"></script>
<!-- dynatree.js -->
<script src="plugins/dynatree.js/jquery.dynatree.min.js" type="text/javascript"></script>
<!-- bootstrap-drawer -->
<script src="plugins/bootstrap-drawer/js/drawer.min.js" type="text/javascript"></script>
<!-- datatables.js -->
<script src="plugins/datatables/datatables.min.js" type="text/javascript"></script>
<!-- colorbox.js -->
<script src="plugins/colorbox/jquery.colorbox-min.js" type="text/javascript"></script>
<!--underscore.js-->
<script src="plugins/underscore.js/underscore-min.js" type="text/javascript"></script>
<!--jquery.balloon.js-->
<script src="plugins/jquery.balloon/jquery.balloon.min.js" type="text/javascript"></script>
<!--clipboard.js-->
<script src="plugins/clipboard.js/clipboard.min.js" type="text/javascript"></script>
<!--lz-string.js-->
<script src="plugins/lz-string/lz-string.min.js" type="text/javascript"></script>
<script src="plugins/jquery.collapser.js/jquery.collapser.min.js" type="text/javascript"></script>
<script src="plugins/Chart.js/Chart.min.js" type="text/javascript"></script>
<!-- main -->
<script src="dist/js/vulsrepo_param.js" type="text/javascript"></script>
<script src="dist/js/vulsrepo_common.js" type="text/javascript"></script>
<script src="dist/js/vulsrepo.js" type="text/javascript"></script>
</html>