cms_scanner 0.0.44.0 → 0.0.44.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/cms_scanner/parsed_cli.rb +4 -5
- data/lib/cms_scanner/version.rb +1 -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: 694aee9839bf9def0fb11faf2821c96267215275e6b25e35704aaeb348742465
|
|
4
|
+
data.tar.gz: 2602463d8655bcbd0a9ea112e9b1d972791049c26bf814a73f8ac7b254de88ee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 71692d53eece2893f4a5de11e9671d410cbda4cb321ce9eacbf02e6a47096ab56d43f0cfec4525dd501222612b2102eceb5d1fc0b1800c547faeb0a2436ca59f
|
|
7
|
+
data.tar.gz: 11f1d927526accb4ab93f85297906744e74168576553a3b28eb3862d5d779ccac9d566aed1149255164a18139550f19f8bd88c9b2b93d70e808a1fdac8f1f0cc
|
|
@@ -6,16 +6,15 @@ module CMSScanner
|
|
|
6
6
|
# This is similar to an OpenStruct, but class wise (rather than instance), and with
|
|
7
7
|
# the logic to update the Browser options accordinly
|
|
8
8
|
class ParsedCli
|
|
9
|
-
@
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
attr_reader :options
|
|
9
|
+
# @return [ Hash ]
|
|
10
|
+
def self.options
|
|
11
|
+
@options ||= {}
|
|
13
12
|
end
|
|
14
13
|
|
|
15
14
|
# Sets the CLI options, and put them into the Browser as well
|
|
16
15
|
# @param [ Hash ] options
|
|
17
16
|
def self.options=(options)
|
|
18
|
-
@options = options.dup
|
|
17
|
+
@options = options.dup || {}
|
|
19
18
|
|
|
20
19
|
NS::Browser.reset
|
|
21
20
|
NS::Browser.instance(@options)
|
data/lib/cms_scanner/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cms_scanner
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.44.
|
|
4
|
+
version: 0.0.44.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- WPScanTeam
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-04-
|
|
11
|
+
date: 2019-04-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nokogiri
|