nexpose 3.1.0 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/nexpose/scan_template.rb +16 -0
- data/lib/nexpose/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21a667918d8b90c0e4c4973bf75c5dca00ea27a6
|
4
|
+
data.tar.gz: 627a5f8bf4f1317fe753dd6707cf13384722f094
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ded568b5819049f20ce3b346389a5bdce391895060ba8f0a2cf20bb7057b934fc892689fb61def7b9aa7fbd701176b539160425875fd99b543c9dd80c422fded
|
7
|
+
data.tar.gz: 16a60054fc1af1aecebc4534378efc3b8b84b37e3063f0107cb4d36ce23a489e5387b5399c067046770741913ee513104ea058448fdc94c0e83c154b9b67a995
|
data/Gemfile.lock
CHANGED
@@ -583,5 +583,21 @@ module Nexpose
|
|
583
583
|
self.enable_debug_logging = enable
|
584
584
|
self.aces_level = (enable ? 'full' : 'none')
|
585
585
|
end
|
586
|
+
|
587
|
+
# Enable or disable windows service editor.
|
588
|
+
# @param [Boolean] enable Enable or disable windows service editor.
|
589
|
+
def windows_service_editor=(enable)
|
590
|
+
cifs_scanner = REXML::XPath.first(@xml, 'ScanTemplate/Plugins/Plugin[@name="java/CifsScanner"]')
|
591
|
+
param = REXML::XPath.first(cifs_scanner, './param[@name="windowsServiceEditor"]')
|
592
|
+
if param
|
593
|
+
param.text = (enable ? '1' : '0')
|
594
|
+
else
|
595
|
+
param = REXML::Element.new('param')
|
596
|
+
param.attributes['name'] = 'windowsServiceEditor'
|
597
|
+
param.text = (enable ? '1' : '0')
|
598
|
+
cifs_scanner.add_element(param)
|
599
|
+
end
|
600
|
+
param.text
|
601
|
+
end
|
586
602
|
end
|
587
603
|
end
|
data/lib/nexpose/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nexpose
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HD Moore
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2016-01-
|
16
|
+
date: 2016-01-20 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: bundler
|