dradis-nexpose 4.2.0 → 4.5.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 +9 -0
- data/lib/dradis/plugins/nexpose/gem_version.rb +1 -1
- data/lib/dradis/plugins/nexpose/importer.rb +5 -1
- data/lib/nexpose/vulnerability.rb +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df1e0df6c4c666522efb12d17af316a257fefda269a3eb1e0a4d850a5cfb3696
|
4
|
+
data.tar.gz: 430ec0cc77a8a27a6d8db449a82fd4eec76f734e9794d8adef0daaf07268c615
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bcfe07a47231df81ebd5fe4ae42e0f0c8580da17f415d0c4d0bab29678d876f4657aef0fcce088fe877c29d5b09649b04ccc665e7b2e275a822f477180f302e
|
7
|
+
data.tar.gz: e3b5c474cc26206f6d0e369d78b5d43bdee40ba7857177067161fffaf54d292a199a18fc58e18ae7428dadbd953f569b2dfcba9c8952a05b62e9e2a9b65ece35
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
v4.5.0 (August 2022)
|
2
|
+
- No changes
|
3
|
+
|
4
|
+
v4.4.0 (June 2022)
|
5
|
+
- Registers template mappings locally
|
6
|
+
|
7
|
+
v4.3.0 (April 2022)
|
8
|
+
- Update HTML tag cleanup to cover `UnorderedList` tags without spaces and double `Paragraph preformat` tags
|
9
|
+
|
1
10
|
v4.2.0 (February 2022)
|
2
11
|
- Pull the Hostname Node property from the `name` rather than `site-name` tag
|
3
12
|
|
@@ -7,6 +7,10 @@ module Dradis::Plugins::Nexpose
|
|
7
7
|
include Formats::Full
|
8
8
|
include Formats::Simple
|
9
9
|
|
10
|
+
def self.templates
|
11
|
+
{ evidence: 'full_evidence', issue: 'full_vulnerability' }
|
12
|
+
end
|
13
|
+
|
10
14
|
# The framework will call this function if the user selects this plugin from
|
11
15
|
# the dropdown list and uploads a file.
|
12
16
|
# @returns true if the operation was successful, false otherwise
|
@@ -31,4 +35,4 @@ module Dradis::Plugins::Nexpose
|
|
31
35
|
end
|
32
36
|
end
|
33
37
|
end
|
34
|
-
end
|
38
|
+
end
|
@@ -112,10 +112,11 @@ module Nexpose
|
|
112
112
|
def cleanup_html(source)
|
113
113
|
result = source.to_s
|
114
114
|
result.gsub!(/<ContainerBlockElement>(.*?)<\/ContainerBlockElement>/m){|m| "#{ $1 }"}
|
115
|
+
result.gsub!(/<Paragraph preformat=\"true\">(\s*)<Paragraph preformat=\"true\">(.*?)<\/Paragraph>(\s*)<\/Paragraph>/mi){|m| "\nbc. #{ $2 }\n\n"}
|
115
116
|
result.gsub!(/<Paragraph preformat=\"true\">(.*?)<\/Paragraph>/mi){|m| "\nbc. #{ $1 }\n\n"}
|
116
117
|
result.gsub!(/<Paragraph>(.*?)<\/Paragraph>/m){|m| "#{ $1 }\n"}
|
117
118
|
result.gsub!(/<Paragraph>|<\/Paragraph>/, '')
|
118
|
-
result.gsub!(/<UnorderedList
|
119
|
+
result.gsub!(/<UnorderedList(.*?)>(.*?)<\/UnorderedList>/m){|m| "#{ $2 }"}
|
119
120
|
result.gsub!(/<OrderedList(.*?)>(.*?)<\/OrderedList>/m){|m| "#{ $2 }"}
|
120
121
|
result.gsub!(/<ListItem>|<\/ListItem>/, '')
|
121
122
|
result.gsub!(/ /, '')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dradis-nexpose
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.5.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: 2022-
|
11
|
+
date: 2022-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dradis-plugins
|
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
174
|
requirements: []
|
175
|
-
rubygems_version: 3.
|
175
|
+
rubygems_version: 3.2.28
|
176
176
|
signing_key:
|
177
177
|
specification_version: 4
|
178
178
|
summary: Nexpose add-on for the Dradis Framework.
|