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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6317b2a93c47455481a3c752514f6a3351433a55
4
- data.tar.gz: 4c806ed0a780364efe289a24173a532202471a4d
3
+ metadata.gz: b32c4939f7e1c215b97ed0545b0aa2d6d5491165
4
+ data.tar.gz: 0f6d1206e333f299b3cf59b8bd6d79a722c3bae5
5
5
  SHA512:
6
- metadata.gz: 567d9a8a63ad1b3a8e0224df0ed9bf0276568d38d1ce4683f36375b3e8646701d7b687f8470bef7bf6b0e5410e73332c55cf8702fbead7af6d86f1fbcadf1650
7
- data.tar.gz: 81de416d748e5071c168cd753576d3cb946858570d7a1363b6322e13ab47177ac23e0e5789e07375d4a87a00f098443dc72accb207705e5a64f4263935a07382
6
+ metadata.gz: 952769dd4b8738a9b42e651498eb1db26e78732094f6bd9336cf586606f94a95e3c02d3e5972020cb18e6f4db0ac9eafd85c8905483ec460ae74f4574f005058
7
+ data.tar.gz: a2e89940c0a1eb0ca3150a68c9ac6ec9bc27be431c455d77401b0282defe0aafe477eb0840759b90132e758fec730e4873543f4b5eefb8f551bc63a331420c9e
@@ -1,6 +1,11 @@
1
+ ## Dradis Framework 3.9 (January, 2018) #
2
+
3
+ * Add Node properties from Scan template fields (v3.8.1)
4
+
5
+
1
6
  ## Dradis Framework 3.8 (September, 2017) ##
2
7
 
3
- * No changes.
8
+ * No changes
4
9
 
5
10
 
6
11
  ## Dradis Framework 3.7 (July, 2017) ##
@@ -8,7 +8,7 @@ module Dradis
8
8
 
9
9
  module VERSION
10
10
  MAJOR = 3
11
- MINOR = 8
11
+ MINOR = 9
12
12
  TINY = 0
13
13
  PRE = nil
14
14
 
@@ -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.8.0
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: 2017-09-27 00:00:00.000000000 Z
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.6.8
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.