dradis-calculator_dread 4.7.0 → 4.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f095b36bd97172483fc1359ad456771388720fc5179f9e781cc746e66c498be
4
- data.tar.gz: 3e46a26bc2f3c6d38489ef7f641dd400ab36fa6d915dae1f2bcc870665c1eb87
3
+ metadata.gz: 54b6a9a9ea082cc046790ea6e32bcf3949399e7ddafcc0e207021d5f46cb6fde
4
+ data.tar.gz: 68a68cc76e3f3cf13cddda807621b10e0a6fb8db47fa6c6717f75566cb1aea1a
5
5
  SHA512:
6
- metadata.gz: 235f7e97bbfb298f2e6c057b9813ee64af8b45b7e7150e3eb82acfe46093ad590870729ddee458f507b8997d4525b42d2faa9855d4f14de32ecbd7d48bfff67d
7
- data.tar.gz: 2f85a5136e5a0689d4defc9d880f936119c0441589a253c7b888e4c2e65741fd626e5171aabb9a1a0f65a5677f2e755924f9ba466abdbb55cbf4f4c4c6f420a7
6
+ metadata.gz: ba147d6a53ea9354394a323eed48e871b9c1128b55e3e7f2398d5c059c4728c1e322846f8b7c9fd512c4e64ca0b68a5576d1833f09cba607df046bef14371bc3
7
+ data.tar.gz: 7864dca825be9fbecea7adb01bad17522a68f6d82633cea843df187951eba967178d391f15b3b90784e8ec046924824a5463ccc3594f819f559988f20540e8ef
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ v4.9.0 (June 2023)
2
+ - Update views for compatibility with Bootstrap 5
3
+
4
+ v4.8.0 (April 2023)
5
+ - No changes
6
+
1
7
  v4.7.0 (February 2023)
2
8
  - No changes
3
9
 
@@ -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" style="width:95%">#[DreadValue]#
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" style="width:95%">#[DreadValue]#
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 navbar-light bg-light">
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">
@@ -9,7 +9,7 @@ module Dradis
9
9
 
10
10
  module VERSION
11
11
  MAJOR = 4
12
- MINOR = 7
12
+ MINOR = 9
13
13
  TINY = 0
14
14
  PRE = nil
15
15
 
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.7.0
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-02-20 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dradis-plugins