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 +5 -5
- data/.github/issue_template.md +16 -0
- data/.github/pull_request_template.md +36 -0
- data/CHANGELOG.md +4 -0
- data/lib/dradis/plugins/nmap/field_processor.rb +5 -1
- data/lib/dradis/plugins/nmap/gem_version.rb +1 -1
- data/lib/dradis/plugins/nmap/importer.rb +1 -0
- data/templates/port.fields +1 -0
- data/templates/port.sample +3 -2
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0f479c55538e38153cad64bf199451e17ecdd2f8753c78bf4954547398f07fd3
|
4
|
+
data.tar.gz: e695331529df03a7f787379dfb63cd2290f550d3dd849a4f6dd68de63bb83e5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
@@ -41,7 +41,11 @@ module Dradis
|
|
41
41
|
# port.service.product
|
42
42
|
# port.service.version
|
43
43
|
if @nmap_object.service
|
44
|
-
|
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'
|
@@ -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
|
}
|
data/templates/port.fields
CHANGED
data/templates/port.sample
CHANGED
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.
|
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-
|
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
|
-
|
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.
|