dradis-nikto 3.16.0 → 3.17.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 +4 -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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e83648d390d40489dbe3db7ad9deba0a2c1ee1965d24b81ef9d602e279d8e9e0
|
4
|
+
data.tar.gz: ad1c2cb958232d815f73da812669fab6d39a706fe0fccacda2d743bfdad7e7d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afb78af915f5120768699c83ba13c6b4945e2e0c137b9eeff81bcf0827a72d018fab26756664e239c5f686760fd76bed9c7283e1b0e3d0e3607ff91659152b64
|
7
|
+
data.tar.gz: 0a6e1f7d2ff389fe9ad6e250952d5999fc891b447c8b2f5c020172b64bd35d7b95f4999025f93d7a9a2dde1d644ba9b7c73f6b17f320e0dbaa456ba267ab3f96
|
data/CHANGELOG.md
CHANGED
@@ -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.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: 2020-02
|
11
|
+
date: 2020-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dradis-plugins
|