dradis-nikto 3.12.0 → 3.17.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: 7430f12f43769cefe59034831ddd510aaa6ae74c
4
- data.tar.gz: ec159f679ccfd8379d23124c1abac769d180e7e2
2
+ SHA256:
3
+ metadata.gz: e83648d390d40489dbe3db7ad9deba0a2c1ee1965d24b81ef9d602e279d8e9e0
4
+ data.tar.gz: ad1c2cb958232d815f73da812669fab6d39a706fe0fccacda2d743bfdad7e7d7
5
5
  SHA512:
6
- metadata.gz: 29aebbcb7810ce5bc728e11a6b4882047fe951d22dea1f500304145ea1161026ea75b97261897e92b3a81671dab8ea10a9c4b690b21636df3e61a38505f16577
7
- data.tar.gz: 5e12a6c3c1374393f57bfb80e0b6c640fae16d93bff3051b4ad17efa0b2da36c2aa6bf444dc6fa4a6f1d27491a443f390d87f0b0c4aa64db2fab2cc47b3fdd16
6
+ metadata.gz: afb78af915f5120768699c83ba13c6b4945e2e0c137b9eeff81bcf0827a72d018fab26756664e239c5f686760fd76bed9c7283e1b0e3d0e3607ff91659152b64
7
+ data.tar.gz: 0a6e1f7d2ff389fe9ad6e250952d5999fc891b447c8b2f5c020172b64bd35d7b95f4999025f93d7a9a2dde1d644ba9b7c73f6b17f320e0dbaa456ba267ab3f96
@@ -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.
@@ -1,3 +1,23 @@
1
+ ## Dradis Framework 3.17 (May 2020) ##
2
+
3
+ * Added an extra set of `<niktoscan>` tags after a change in Nikto XML structure.
4
+
5
+ ## Dradis Framework 3.16 (February, 2020) ##
6
+
7
+ * No changes.
8
+
9
+ ## Dradis Framework 3.15 (November, 2019) ##
10
+
11
+ * No changes.
12
+
13
+ ## Dradis Framework 3.14 (August, 2019) ##
14
+
15
+ * No changes.
16
+
17
+ ## Dradis Framework 3.13 (June, 2019) ##
18
+
19
+ * No changes.
20
+
1
21
  ## Dradis Framework 3.12 (March, 2019) ##
2
22
 
3
23
  * No changes.
@@ -8,7 +8,7 @@ module Dradis
8
8
 
9
9
  module VERSION
10
10
  MAJOR = 3
11
- MINOR = 12
11
+ MINOR = 17
12
12
  TINY = 0
13
13
  PRE = nil
14
14
 
@@ -18,14 +18,14 @@ module Dradis::Plugins::Nikto
18
18
  doc = Nokogiri::XML(xml)
19
19
  logger.info{ 'Done.' }
20
20
 
21
- if doc.xpath('/nikto/niktoscan/scandetails').empty?
21
+ if doc.xpath('//niktoscan/scandetails').empty?
22
22
  error = "No scan results were detected in the uploaded file (/nikto/niktoscan/scandetails). Ensure you uploaded a Nikto XML report."
23
23
  logger.fatal{ error }
24
24
  content_service.create_note text: error
25
25
  return false
26
26
  end
27
27
 
28
- doc.xpath('/nikto/niktoscan/scandetails').each do |xml_scan|
28
+ doc.xpath('//niktoscan/scandetails').each do |xml_scan|
29
29
  host_label = xml_scan['targetip']
30
30
 
31
31
  # Hack to include the file name in the xml
@@ -1,5 +1,6 @@
1
1
  <?xml version="1.0" ?>
2
2
  <!DOCTYPE niktoscan SYSTEM "docs/nikto.dtd">
3
+ <niktoscan>
3
4
  <niktoscan hoststest="0" options="-h localhost -p 80 -out /tmp/localhost.xml" version="2.1.4" scanstart="Sun Jul 17 19:54:10 2011" scanend="Thu Jan 1 01:00:00 1970" scanelapsed=" seconds" nxmlversion="1.1">
4
5
  <scandetails targetip="127.0.0.1" targethostname="localhost" targetport="80" targetbanner="Apache/2.2.16 (Debian)" starttime="2011-07-18 19:54:10" sitename="http://localhost:80/" siteip="http://127.0.0.1:80/" hostheader="localhost">
5
6
  <ssl ciphers="DHE-RSA-AES256-SHA" issuers="/C=GB/ST=Berks/L=Ruscombe/O=XXXXXX/OU=XXXX/CN=asdf.com/emailAddress=someoneatasdf.com" info="/C=GB/ST=Berkshire/L=Ruscombe/O=Company/OU=UK/CN=vmx098" />
@@ -35,5 +36,6 @@
35
36
  <statistics elapsed="10" itemsfound="44" itemstested="6456" endtime="2011-07-18 19:54:20" />
36
37
  </scandetails>
37
38
 
38
-
39
+ </niktoscan>
40
+
39
41
  </niktoscan>
@@ -1,4 +1,4 @@
1
- ##[Title]#
1
+ #[Title]#
2
2
  %item.description%
3
3
 
4
4
  #[Details]#
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dradis-nikto
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.12.0
4
+ version: 3.17.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-04-01 00:00:00.000000000 Z
11
+ date: 2020-06-02 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
@@ -156,8 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
158
  - !ruby/object:Gem::Version
157
159
  version: '0'
158
160
  requirements: []
159
- rubyforge_project:
160
- rubygems_version: 2.6.12
161
+ rubygems_version: 3.0.1
161
162
  signing_key:
162
163
  specification_version: 4
163
164
  summary: Nikto add-on for the Dradis Framework.