dradis-nikto 3.15.0 → 3.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/lib/dradis/plugins/nikto/gem_version.rb +1 -1
- data/lib/dradis/plugins/nikto/importer.rb +2 -2
- data/spec/fixtures/files/localhost.xml +3 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f65d4cf75f15f8c5081ab2aee96fd5cff564491f7322c120eb361babadbe1b3
|
4
|
+
data.tar.gz: 49dc57591124d774c2975e52b6b284cf359c4be4b7a393139e3930b7eb0f2a1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b772f98f797dce51402858faf16dff003bc60b8ea0a4a27c4fd17b71d42b0a40d134373522f5ceedb62fd7fbc93e9cd300b3253bde0c7b7e939ca1a5faec3633
|
7
|
+
data.tar.gz: 658410b3d66d104f5a29a1abf8d3785ef068857035881a1338f2aa6f8cd3c6357a57fc6040abb518e2b95d5332b267b36112ccaa308165f3226b5fe62ed03405
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,23 @@
|
|
1
|
+
## Dradis Framework 3.20 (December, 2020) ##
|
2
|
+
|
3
|
+
* No changes.
|
4
|
+
|
5
|
+
## Dradis Framework 3.19 (September, 2020) ##
|
6
|
+
|
7
|
+
* No changes.
|
8
|
+
|
9
|
+
## Dradis Framework 3.18 (July, 2020) ##
|
10
|
+
|
11
|
+
* No changes.
|
12
|
+
|
13
|
+
## Dradis Framework 3.17 (May 2020) ##
|
14
|
+
|
15
|
+
* Added an extra set of `<niktoscan>` tags after a change in Nikto XML structure.
|
16
|
+
|
17
|
+
## Dradis Framework 3.16 (February, 2020) ##
|
18
|
+
|
19
|
+
* No changes.
|
20
|
+
|
1
21
|
## Dradis Framework 3.15 (November, 2019) ##
|
2
22
|
|
3
23
|
* No changes.
|
@@ -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('
|
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('
|
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>
|
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.
|
4
|
+
version: 3.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Martin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dradis-plugins
|
@@ -143,7 +143,7 @@ homepage: http://dradisframework.org
|
|
143
143
|
licenses:
|
144
144
|
- GPL-2
|
145
145
|
metadata: {}
|
146
|
-
post_install_message:
|
146
|
+
post_install_message:
|
147
147
|
rdoc_options: []
|
148
148
|
require_paths:
|
149
149
|
- lib
|
@@ -158,8 +158,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '0'
|
160
160
|
requirements: []
|
161
|
-
rubygems_version: 3.
|
162
|
-
signing_key:
|
161
|
+
rubygems_version: 3.2.4
|
162
|
+
signing_key:
|
163
163
|
specification_version: 4
|
164
164
|
summary: Nikto add-on for the Dradis Framework.
|
165
165
|
test_files:
|