dradis-acunetix 3.8.0 → 3.9.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 +6 -1
- data/lib/dradis/plugins/acunetix/gem_version.rb +1 -1
- data/lib/dradis/plugins/acunetix/importer.rb +16 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b32c4939f7e1c215b97ed0545b0aa2d6d5491165
|
4
|
+
data.tar.gz: 0f6d1206e333f299b3cf59b8bd6d79a722c3bae5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 952769dd4b8738a9b42e651498eb1db26e78732094f6bd9336cf586606f94a95e3c02d3e5972020cb18e6f4db0ac9eafd85c8905483ec460ae74f4574f005058
|
7
|
+
data.tar.gz: a2e89940c0a1eb0ca3150a68c9ac6ec9bc27be431c455d77401b0282defe0aafe477eb0840759b90132e758fec730e4873543f4b5eefb8f551bc63a331420c9e
|
data/CHANGELOG.md
CHANGED
@@ -30,12 +30,27 @@ module Dradis::Plugins::Acunetix
|
|
30
30
|
attr_accessor :scan_node
|
31
31
|
|
32
32
|
def process_scan(xml_scan)
|
33
|
-
|
34
33
|
start_url = URI::parse(xml_scan.at_xpath('./StartURL').text()).host
|
35
34
|
|
36
35
|
self.scan_node = content_service.create_node(label: start_url, type: :host)
|
37
36
|
logger.info{ "\tScan start URL: #{start_url}" }
|
38
37
|
|
38
|
+
# Define Node properties
|
39
|
+
if scan_node.respond_to?(:properties)
|
40
|
+
scan_node.set_property(:short_name, xml_scan.at_xpath('./ShortName').text() )
|
41
|
+
scan_node.set_property(:start_url, start_url)
|
42
|
+
scan_node.set_property(:start_time, xml_scan.at_xpath('./StartTime').text() )
|
43
|
+
scan_node.set_property(:finish_time, xml_scan.at_xpath('./FinishTime').text() )
|
44
|
+
scan_node.set_property(:scan_time, xml_scan.at_xpath('./ScanTime').text() )
|
45
|
+
scan_node.set_property(:aborted, xml_scan.at_xpath('./Aborted').text() )
|
46
|
+
scan_node.set_property(:responsive, xml_scan.at_xpath('./Responsive').text() )
|
47
|
+
scan_node.set_property(:banner, xml_scan.at_xpath('./Banner').text() )
|
48
|
+
scan_node.set_property(:os, xml_scan.at_xpath('./Os').text() )
|
49
|
+
scan_node.set_property(:web_server, xml_scan.at_xpath('./WebServer').text() )
|
50
|
+
scan_node.set_property(:technologies, xml_scan.at_xpath('./Technologies').text() )
|
51
|
+
scan_node.save
|
52
|
+
end
|
53
|
+
|
39
54
|
scan_note = template_service.process_template(template: 'scan', data: xml_scan)
|
40
55
|
content_service.create_note text: scan_note, node: scan_node
|
41
56
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dradis-acunetix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.9.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:
|
11
|
+
date: 2018-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dradis-plugins
|
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
157
|
version: '0'
|
158
158
|
requirements: []
|
159
159
|
rubyforge_project:
|
160
|
-
rubygems_version: 2.
|
160
|
+
rubygems_version: 2.4.5
|
161
161
|
signing_key:
|
162
162
|
specification_version: 4
|
163
163
|
summary: Acunetix add-on for the Dradis Framework.
|