dradis-nmap 3.13.0 → 3.14.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
- SHA1:
3
- metadata.gz: f34b975a92cc1846c69ebbdfef6a7556c4ae4433
4
- data.tar.gz: 04b6b0ee97c658baab549e066fbd486f84c18dfd
2
+ SHA256:
3
+ metadata.gz: 0f479c55538e38153cad64bf199451e17ecdd2f8753c78bf4954547398f07fd3
4
+ data.tar.gz: e695331529df03a7f787379dfb63cd2290f550d3dd849a4f6dd68de63bb83e5d
5
5
  SHA512:
6
- metadata.gz: df31ca4a7068eb1533b64d6d9a38732bed1b3d31bac3c3948f85dc829158c8e8f7b9d088e2dfc2d95397ff92063da1de119f9230f5333e28162ac2234e5b8b20
7
- data.tar.gz: 4fcc6f0c0815d784c7e264641ccf22fe63a5d0e0145d6a47d530ec458671ad4c38b56528c3937a95161f6216b524d306a7b866a244f78b61eec3c2d16b305c18
6
+ metadata.gz: 905948f7d6eeb9c162c4a5bed6c02e4ededcc7046a08e50a3e2d4f6c16bf33c971535f3328be1fd8ecb2e65af142844a8d1f9e27bad18bde09a1e2b1c7c3cf84
7
+ data.tar.gz: f7e4fd2c0d4b3190fc9ef4014836ea5e085ea81e1d3bdf09e611e47036b8ec2321d3032e7aafcc1c28c48ca62df9629a5916a94b723aa9ffd6bf067718af12ba
@@ -0,0 +1,16 @@
1
+ ### Steps to reproduce
2
+
3
+ Help us help you, how can we reproduce the problem?
4
+
5
+ ### Expected behavior
6
+ Tell us what should happen
7
+
8
+ ### Actual behavior
9
+ Tell us what happens instead
10
+
11
+ ### System configuration
12
+ **Dradis version**:
13
+
14
+ **Ruby version**:
15
+
16
+ **OS version**:
@@ -0,0 +1,36 @@
1
+ ### Summary
2
+
3
+ Provide a general description of the code changes in your pull
4
+ request... were there any bugs you had fixed? If so, mention them. If
5
+ these bugs have open GitHub issues, be sure to tag them here as well,
6
+ to keep the conversation linked together.
7
+
8
+
9
+ ### Other Information
10
+
11
+ If there's anything else that's important and relevant to your pull
12
+ request, mention that information here. This could include
13
+ benchmarks, or other information.
14
+
15
+ Thanks for contributing to Dradis!
16
+
17
+
18
+ ### Copyright assignment
19
+
20
+ Collaboration is difficult with commercial closed source but we want
21
+ to keep as much of the OSS ethos as possible available to users
22
+ who want to fix it themselves.
23
+
24
+ In order to unambiguously own and sell Dradis Framework commercial
25
+ products, we must have the copyright associated with the entire
26
+ codebase. Any code you create which is merged must be owned by us.
27
+ That's not us trying to be a jerks, that's just the way it works.
28
+
29
+ Please review the [CONTRIBUTING.md](https://github.com/dradis/dradis-ce/blob/master/CONTRIBUTING.md)
30
+ file for the details.
31
+
32
+ You can delete this section, but the following sentence needs to
33
+ remain in the PR's description:
34
+
35
+ > I assign all rights, including copyright, to any future Dradis
36
+ > work by myself to Security Roots.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## Dradis Framework 3.14 (August, 2019) ##
2
+
3
+ * Add port.service.tunnel field to the port template
4
+
1
5
  ## Dradis Framework 3.13 (June, 2019) ##
2
6
 
3
7
  * No changes.
@@ -41,7 +41,11 @@ module Dradis
41
41
  # port.service.product
42
42
  # port.service.version
43
43
  if @nmap_object.service
44
- @nmap_object.service.try(attribute) || 'n/a'
44
+ if attribute == 'tunnel'
45
+ @nmap_object.service.try(:ssl?) ? 'ssl' : 'n/a'
46
+ else
47
+ @nmap_object.service.try(attribute) || 'n/a'
48
+ end
45
49
  end
46
50
  else
47
51
  @nmap_object.try(name) || 'n/a'
@@ -8,7 +8,7 @@ module Dradis
8
8
 
9
9
  module VERSION
10
10
  MAJOR = 3
11
- MINOR = 13
11
+ MINOR = 14
12
12
  TINY = 0
13
13
  PRE = nil
14
14
 
@@ -50,6 +50,7 @@ module Dradis::Plugins::Nmap
50
50
  reason: port.reason,
51
51
  name: port.try(:service).try(:name),
52
52
  product: port.try(:service).try(:product),
53
+ tunnel: port.try(:service).try(:ssl?) ? 'ssl' : 'n/a',
53
54
  version: port.try(:service).try(:version),
54
55
  source: :nmap,
55
56
  }
@@ -4,5 +4,6 @@ port.state
4
4
  port.reason
5
5
  port.service.name
6
6
  port.service.product
7
+ port.service.tunnel
7
8
  port.service.version
8
9
  port.host
@@ -10,5 +10,6 @@
10
10
  <service
11
11
  name="smtp"
12
12
  method="table"
13
- conf="3"/>
14
- </port>
13
+ conf="3"
14
+ tunnel="ssl"/>
15
+ </port>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dradis-nmap
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.13.0
4
+ version: 3.14.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: 2019-06-10 00:00:00.000000000 Z
11
+ date: 2019-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dradis-plugins
@@ -102,6 +102,8 @@ executables: []
102
102
  extensions: []
103
103
  extra_rdoc_files: []
104
104
  files:
105
+ - ".github/issue_template.md"
106
+ - ".github/pull_request_template.md"
105
107
  - ".gitignore"
106
108
  - ".rspec"
107
109
  - CHANGELOG.md
@@ -149,8 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
151
  - !ruby/object:Gem::Version
150
152
  version: '0'
151
153
  requirements: []
152
- rubyforge_project:
153
- rubygems_version: 2.6.12
154
+ rubygems_version: 3.0.3
154
155
  signing_key:
155
156
  specification_version: 4
156
157
  summary: Nmap add-on for the Dradis Framework.