dradis-calculator_dread 4.8.0 → 4.9.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/app/views/dradis/plugins/calculators/dread/base/_likelihood.html.erb +2 -2
- data/app/views/dradis/plugins/calculators/dread/base/index.html.erb +4 -4
- data/app/views/dradis/plugins/calculators/dread/issues/_show-tabs.html.erb +1 -1
- data/app/views/dradis/plugins/calculators/dread/issues/edit.html.erb +4 -4
- data/app/views/layouts/dradis/plugins/calculators/dread/base.html.erb +1 -1
- data/lib/dradis/plugins/calculators/dread/gem_version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 54b6a9a9ea082cc046790ea6e32bcf3949399e7ddafcc0e207021d5f46cb6fde
|
|
4
|
+
data.tar.gz: 68a68cc76e3f3cf13cddda807621b10e0a6fb8db47fa6c6717f75566cb1aea1a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba147d6a53ea9354394a323eed48e871b9c1128b55e3e7f2398d5c059c4728c1e322846f8b7c9fd512c4e64ca0b68a5576d1833f09cba607df046bef14371bc3
|
|
7
|
+
data.tar.gz: 7864dca825be9fbecea7adb01bad17522a68f6d82633cea843df187951eba967178d391f15b3b90784e8ec046924824a5463ccc3594f819f559988f20540e8ef
|
data/CHANGELOG.md
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<tr>
|
|
35
35
|
<td><input type="radio" name="exploit" value="0" <%= 'checked' if @dread_vector['E'] == 0 %>/> 0</td>
|
|
36
36
|
<td>
|
|
37
|
-
<ul>
|
|
37
|
+
<ul class="m-0 p-0">
|
|
38
38
|
<li>Advanced programming and networking knowledge</li>
|
|
39
39
|
<li>Custom or advanced attack tools</li>
|
|
40
40
|
<li>Depends on other vulnerabilities being present which have not been discovered</li>
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
<tr>
|
|
49
49
|
<td><input type="radio" name="exploit" value="2" <%= 'checked' if @dread_vector['E'] == 2 %>/> 2</td>
|
|
50
50
|
<td>
|
|
51
|
-
<ul>
|
|
51
|
+
<ul class="m-0 p-0">
|
|
52
52
|
<li>Tool or malware is available on the Internet</li>
|
|
53
53
|
<li>Exploit is easily performed</li>
|
|
54
54
|
</ul>
|
|
@@ -5,18 +5,18 @@
|
|
|
5
5
|
<p class="lead">Use this page to calculate the <abbr title="Damage potential, Reproducibility, Exploitability, Affected Users, Discoverability">DREAD</abbr> score of a given finding.</p>
|
|
6
6
|
|
|
7
7
|
<div class="row">
|
|
8
|
-
<div class="col-8">
|
|
8
|
+
<div class="col-lg-8 mb-5">
|
|
9
9
|
<h2>Impact score: <span id="impact-score">0</span></h2>
|
|
10
10
|
<%= render 'dradis/plugins/calculators/dread/base/impact' %>
|
|
11
11
|
|
|
12
|
-
<h2>Likelihood score: <span id="likelihood-score">0</span></h2>
|
|
12
|
+
<h2 class="mt-5">Likelihood score: <span id="likelihood-score">0</span></h2>
|
|
13
13
|
<%= render 'dradis/plugins/calculators/dread/base/likelihood' %>
|
|
14
14
|
</div>
|
|
15
15
|
|
|
16
|
-
<div class="col-4">
|
|
16
|
+
<div class="col-lg-4">
|
|
17
17
|
<h2>DREAD score: <span id="dread-score">0</span></h2>
|
|
18
18
|
<p class="lead text-center">DREAD = (Impact + Likelihood)/2</p>
|
|
19
|
-
<textarea class="form-control" name="dread_fields" rows="28"
|
|
19
|
+
<textarea class="form-control" name="dread_fields" rows="28">#[DreadValue]#
|
|
20
20
|
N/A
|
|
21
21
|
|
|
22
22
|
#[Damage]#
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<% if Dradis::Plugins::Calculators::DREAD::Engine.settings.show.to_i == 1 %>
|
|
2
2
|
<li class="nav-item">
|
|
3
|
-
<a href="#dread-tab" data-toggle="tab" class="nav-link"><i class="fa fa-calculator"></i> DREAD</a>
|
|
3
|
+
<a href="#dread-tab" data-bs-toggle="tab" class="nav-link"><i class="fa fa-calculator"></i> DREAD</a>
|
|
4
4
|
</li>
|
|
5
5
|
<% end %>
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
<ul class="nav nav-pills w-100" id="cvss-tabs">
|
|
15
15
|
<li class="nav-item">
|
|
16
|
-
<a href="#dread-edit-impact" data-toggle="pill" class="nav-link active">Impact: <span id="impact-score">0</span></a>
|
|
16
|
+
<a href="#dread-edit-impact" data-bs-toggle="pill" class="nav-link active">Impact: <span id="impact-score">0</span></a>
|
|
17
17
|
</li>
|
|
18
18
|
<li class="nav-item">
|
|
19
|
-
<a href="#dread-edit-likelihood" data-toggle="pill" class="nav-link">Likelihood: <span id="likelihood-score">0</span></a>
|
|
19
|
+
<a href="#dread-edit-likelihood" data-bs-toggle="pill" class="nav-link">Likelihood: <span id="likelihood-score">0</span></a>
|
|
20
20
|
</li>
|
|
21
21
|
<li class="nav-item pull-right">
|
|
22
|
-
<a href="#dread-edit-result" data-toggle="pill" class="nav-link">Result: <span id="dread-score">0</span></a>
|
|
22
|
+
<a href="#dread-edit-result" data-bs-toggle="pill" class="nav-link">Result: <span id="dread-score">0</span></a>
|
|
23
23
|
</li>
|
|
24
24
|
</ul>
|
|
25
25
|
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<div class="tab-pane" id="dread-edit-result">
|
|
35
35
|
<p class="lead text-center">DREAD = (Impact + Likelihood)/2</p>
|
|
36
36
|
|
|
37
|
-
<textarea class="form-control" name="dread_fields" rows="10"
|
|
37
|
+
<textarea class="form-control" name="dread_fields" rows="10">#[DreadValue]#
|
|
38
38
|
N/A
|
|
39
39
|
|
|
40
40
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
</head>
|
|
11
11
|
<body class="authenticated">
|
|
12
12
|
<div class="container">
|
|
13
|
-
<nav class="navbar
|
|
13
|
+
<nav class="navbar">
|
|
14
14
|
<a href="javascript:void(0)" class="navbar-brand">DREAD score calculator</a>
|
|
15
15
|
<ul class="navbar-nav pull-right">
|
|
16
16
|
<li class="nav-item">
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dradis-calculator_dread
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Martin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dradis-plugins
|