dradis-nexpose 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e44d720fddfe5c5d13f9771c558d3d29ee3cd8c64001d81903616f32fadf09b7
4
- data.tar.gz: 61f8ad62cf1197c13ac785a1506b0c731888ef0dd8b70582088bd55fc1bf8f2f
3
+ metadata.gz: b11c2f3efeb75d866e704afc1654be7901c80233d4c25ecf3796170c6217dd12
4
+ data.tar.gz: 18e1f93496c8badc29df962c48a7285d56ad5a5b5d3e3faa366f63e001081178
5
5
  SHA512:
6
- metadata.gz: 536521fbca96e0a24494395e1a87c45cd8810c8e8ca7712f65a9b369147f68bd8a0cb27d3f1efcc527fffcb151c7137f3c72baff15931cb5624dbf8f54c1df47
7
- data.tar.gz: d9fa33d0eaf4c92a740dc18a237000da5620047ee75dcdd5f714e7fe97d1027fcf952d735ecb978a40729acf2b50152ce13649bf683f1edc37c8718eb814a70a
6
+ metadata.gz: bafe0d744722c9dfb00170857fea3bad6c5f8cd2fcc571867ac0bfb86639f0dc700ea58134ab6f05556aa750dd51072b506a411452f4c7b796955b331916b57f
7
+ data.tar.gz: 3dc33c2ba56abe1ba7ce2d715cb63826b51d140fa702be9543078a803b6a5a0665b582a695a7e24c933957e3e413b27e1cc6b8a2170b392ba8e44bc89231eeaa
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ v4.10.0 (September 2023)
2
+ - Update gemspec links
3
+
4
+ v4.9.0 (June 2023)
5
+ - Parse inline code, not just code blocks
6
+ - Wrap ciphers in the `ssl-weak-message-authentication-code-algorithms` finding
7
+
1
8
  v4.8.0 (April 2023)
2
9
  - No changes
3
10
 
@@ -2,10 +2,9 @@ $:.push File.expand_path('../lib', __FILE__)
2
2
  require 'dradis/plugins/nexpose/version'
3
3
  version = Dradis::Plugins::Nexpose::VERSION::STRING
4
4
 
5
-
6
5
  # Describe your gem and declare its dependencies:
7
6
  Gem::Specification.new do |spec|
8
- spec.platform = Gem::Platform::RUBY
7
+ spec.platform = Gem::Platform::RUBY
9
8
  spec.name = 'dradis-nexpose'
10
9
  spec.version = version
11
10
  spec.summary = 'Nexpose add-on for the Dradis Framework.'
@@ -14,11 +13,10 @@ Gem::Specification.new do |spec|
14
13
  spec.license = 'GPL-2'
15
14
 
16
15
  spec.authors = ['Daniel Martin']
17
- spec.email = ['etd@nomejortu.com']
18
- spec.homepage = 'http://dradisframework.org'
16
+ spec.homepage = 'https://dradis.com/integrations/nexpose.html'
19
17
 
20
18
  spec.files = `git ls-files`.split($\)
21
- 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) }
22
20
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
23
21
 
24
22
  # By not including Rails as a dependency, we can use the gem with different
@@ -8,7 +8,7 @@ module Dradis
8
8
 
9
9
  module VERSION
10
10
  MAJOR = 4
11
- MINOR = 8
11
+ MINOR = 10
12
12
  TINY = 0
13
13
  PRE = nil
14
14
 
@@ -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){|m| "\nbc. #{ $2 }\n\n"}
116
- result.gsub!(/<Paragraph preformat=\"true\">(.*?)<\/Paragraph>/mi){|m| "\nbc. #{ $1 }\n\n"}
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.8.0
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-04-12 00:00:00.000000000 Z
11
+ date: 2023-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dradis-plugins
@@ -96,8 +96,7 @@ dependencies:
96
96
  version: 0.5.2
97
97
  description: This add-on allows you to upload and parse output produced from Nexpose
98
98
  scanner into Dradis.
99
- email:
100
- - etd@nomejortu.com
99
+ email:
101
100
  executables: []
102
101
  extensions: []
103
102
  extra_rdoc_files: []
@@ -153,7 +152,7 @@ files:
153
152
  - templates/simple_port.fields
154
153
  - templates/simple_port.sample
155
154
  - templates/simple_port.template
156
- homepage: http://dradisframework.org
155
+ homepage: https://dradis.com/integrations/nexpose.html
157
156
  licenses:
158
157
  - GPL-2
159
158
  metadata: {}