dradis-calculator_dread 4.8.0 → 4.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -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-content.html.erb +1 -1
- 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/dradis-calculator_dread.gemspec +3 -5
- data/lib/dradis/plugins/calculators/dread/gem_version.rb +1 -1
- metadata +4 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cad938676213a89866486dbb101d2482dbc1e75ed40b7daed988cdd71fb1e83
|
4
|
+
data.tar.gz: e846f35b12ba19c8ef61ff701ecd1af8a13db8f0b55a6cc64ebab4ef6469c4b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 700d475b8205a2546f507857d76ab6c84d2c4bfef62829a235474420d117fe7b081ba009785ea76f02a766341ed3accf8ac6ee3378609daab4a03e763b7ad358
|
7
|
+
data.tar.gz: da6599774cc4b54b5e8277314b456722ddf8dad0147ac163ca55f8e67f00d313fdb59cf996faf94266b83fba427201a37015df795b9a0c5eb0687b15f88f3734
|
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-solid 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">
|
@@ -4,7 +4,7 @@ require 'dradis/plugins/calculators/dread/version'
|
|
4
4
|
|
5
5
|
# Describe your gem and declare its dependencies:
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.platform
|
7
|
+
spec.platform = Gem::Platform::RUBY
|
8
8
|
spec.name = 'dradis-calculator_dread'
|
9
9
|
spec.version = Dradis::Plugins::Calculators::DREAD::VERSION::STRING
|
10
10
|
spec.summary = 'This plugin adds a DREAD score calculator to Dradis.'
|
@@ -13,14 +13,12 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.license = 'GPL-2'
|
14
14
|
|
15
15
|
spec.authors = ['Daniel Martin']
|
16
|
-
spec.
|
17
|
-
spec.homepage = 'http://dradisframework.org'
|
16
|
+
spec.homepage = 'https://dradis.com/support/guides/projects/calculators.html'
|
18
17
|
|
19
18
|
spec.files = `git ls-files`.split($\)
|
20
|
-
spec.executables = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
19
|
+
spec.executables = spec.files.grep(%r{^bin/}).map { |f| File.basename(f) }
|
21
20
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
22
21
|
|
23
|
-
|
24
22
|
# By not including Rails as a dependency, we can use the gem with different
|
25
23
|
# versions of Rails (a sure recipe for disaster, I'm sure), which is needed
|
26
24
|
# until we bump Dradis Pro to 4.1.
|
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.10.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-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dradis-plugins
|
@@ -53,8 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '10.0'
|
55
55
|
description: Display a DREAD score calculator in Dradis Framework.
|
56
|
-
email:
|
57
|
-
- etd@nomejortu.com
|
56
|
+
email:
|
58
57
|
executables: []
|
59
58
|
extensions: []
|
60
59
|
extra_rdoc_files: []
|
@@ -90,7 +89,7 @@ files:
|
|
90
89
|
- lib/dradis/plugins/calculators/dread/engine.rb
|
91
90
|
- lib/dradis/plugins/calculators/dread/gem_version.rb
|
92
91
|
- lib/dradis/plugins/calculators/dread/version.rb
|
93
|
-
homepage:
|
92
|
+
homepage: https://dradis.com/support/guides/projects/calculators.html
|
94
93
|
licenses:
|
95
94
|
- GPL-2
|
96
95
|
metadata: {}
|