dradis-nexpose 4.7.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 +7 -0
- data/lib/dradis/plugins/nexpose/gem_version.rb +1 -1
- data/lib/nexpose/vulnerability.rb +9 -3
- 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: c51cb9c78fc398a2d25cf84f5e24c1b005f6e0da7f23c042ffdea3c2b4c994fb
|
|
4
|
+
data.tar.gz: dba981353382bcfb6a31951d7726dcfd046257b9e6beeb7432b851f733c3609a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5ed17ede86157d31fe5f1d080ede9e396c8e17669232a1e6e8b40c87a5490d8870f3652f6941bf7ce435eb1615ca6cc81ebe5d6400bde60afd0b6457a90bddd1
|
|
7
|
+
data.tar.gz: 87049dca0c73c307389d7664cd639ff84ffbbf1305cbe86691924d9e8493289a046f8237601c6e54ea806c32231ea28854343330d66c28d2f1f601657615c1ec
|
data/CHANGELOG.md
CHANGED
|
@@ -8,7 +8,7 @@ module Nexpose
|
|
|
8
8
|
# Instead of providing separate methods for each supported property we rely
|
|
9
9
|
# on Ruby's #method_missing to do most of the work.
|
|
10
10
|
class Vulnerability
|
|
11
|
-
SSL_CIPHER_VULN_IDS = %w[ssl-anon-ciphers ssl-des-ciphers ssl-3des-ciphers ssl-export-ciphers ssl-null-ciphers ssl-only-weak-ciphers ssl-static-key-ciphers rc4-cve-2013-2566 ssl-cve-2016-2183-sweet32 tls-dhe-export-ciphers-cve-2015-4000].freeze
|
|
11
|
+
SSL_CIPHER_VULN_IDS = %w[ssl-anon-ciphers ssl-des-ciphers ssl-3des-ciphers ssl-export-ciphers ssl-null-ciphers ssl-only-weak-ciphers ssl-static-key-ciphers ssl-weak-message-authentication-code-algorithms rc4-cve-2013-2566 ssl-cve-2016-2183-sweet32 tls-dhe-export-ciphers-cve-2015-4000].freeze
|
|
12
12
|
|
|
13
13
|
# Accepts an XML node from Nokogiri::XML.
|
|
14
14
|
def initialize(xml_node)
|
|
@@ -112,8 +112,14 @@ 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)
|
|
116
|
-
|
|
115
|
+
result.gsub!(/<Paragraph preformat=\"true\">(\s*)<Paragraph preformat=\"true\">(.*?)<\/Paragraph>(\s*)<\/Paragraph>/mi) do
|
|
116
|
+
text = $2
|
|
117
|
+
text[/\n/] ? "\nbc.. #{ text }\n\np. " : "@#{text}@"
|
|
118
|
+
end
|
|
119
|
+
result.gsub!(/<Paragraph preformat=\"true\">(.*?)<\/Paragraph>/mi) do
|
|
120
|
+
text = $1
|
|
121
|
+
text[/\n/] ? "\nbc.. #{ text }\n\np. " : "@#{text}@"
|
|
122
|
+
end
|
|
117
123
|
result.gsub!(/<Paragraph>(.*?)<\/Paragraph>/m){|m| "#{ $1 }\n"}
|
|
118
124
|
result.gsub!(/<Paragraph>|<\/Paragraph>/, '')
|
|
119
125
|
result.gsub!(/<UnorderedList(.*?)>(.*?)<\/UnorderedList>/m){|m| "#{ $2 }"}
|
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.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
|