cms_scanner 0.0.39.2 → 0.0.39.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/interesting_finding.rb +1 -1
- data/cms_scanner.gemspec +8 -8
- data/lib/cms_scanner/finders/same_type_finder.rb +0 -1
- data/lib/cms_scanner/finders/unique_finder.rb +0 -1
- data/lib/cms_scanner/helper.rb +0 -1
- data/lib/cms_scanner/target/hashes.rb +1 -1
- data/lib/cms_scanner/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6eda73cb0b4e2c4199e1ca9c03dd54247374ea63
|
4
|
+
data.tar.gz: 308d365a7367ac2aebccea113230617ed971da9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a47553a96a9add11ec16518495fd6cb0cff86cdae9efaddb705b7b8812808b76b4a10fc3b1ef66068828fcd408f40accd5171281de39f749b82fe106d59b80d7
|
7
|
+
data.tar.gz: 285bcf67945e2a4c2d99bb0f2d222f3c3fd783601a5620e59e8193318eb92376a0c5b69a50af033e08838bf6e21ce9ca61a64389704bcd6be13958898e0c842d
|
@@ -21,7 +21,7 @@ module CMSScanner
|
|
21
21
|
def entries
|
22
22
|
res = NS::Browser.get(url)
|
23
23
|
|
24
|
-
return [] unless res && res.headers['Content-Type'] =~ %r{\Atext/plain;}i
|
24
|
+
return [] unless res && res.headers['Content-Type'] =~ %r{\Atext/plain;}i
|
25
25
|
|
26
26
|
res.body.split("\n").reject { |s| s.strip.empty? }
|
27
27
|
end
|
data/cms_scanner.gemspec
CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
|
|
32
32
|
s.require_path = 'lib'
|
33
33
|
|
34
34
|
s.add_dependency 'nokogiri', '~> 1.8.0'
|
35
|
-
s.add_dependency 'opt_parse_validator', '~> 0.0.
|
35
|
+
s.add_dependency 'opt_parse_validator', '~> 0.0.16.1'
|
36
36
|
s.add_dependency 'public_suffix', '~> 3.0.0'
|
37
37
|
s.add_dependency 'ruby-progressbar', '~> 1.9.0'
|
38
38
|
s.add_dependency 'typhoeus', '~> 1.3.0'
|
@@ -40,15 +40,15 @@ Gem::Specification.new do |s|
|
|
40
40
|
|
41
41
|
# Already required by opt_parse_validator
|
42
42
|
# so version restriction loosen to avoid potential future conflicts
|
43
|
-
s.add_dependency 'activesupport', '~> 5.
|
44
|
-
s.add_dependency 'addressable',
|
43
|
+
s.add_dependency 'activesupport', '~> 5.1'
|
44
|
+
s.add_dependency 'addressable', '~> 2.5'
|
45
45
|
|
46
|
-
s.add_development_dependency 'bundler',
|
46
|
+
s.add_development_dependency 'bundler', '~> 1.6'
|
47
47
|
s.add_development_dependency 'coveralls', '~> 0.8.0'
|
48
|
-
s.add_development_dependency 'rake',
|
49
|
-
s.add_development_dependency 'rspec',
|
48
|
+
s.add_development_dependency 'rake', '~> 12.0'
|
49
|
+
s.add_development_dependency 'rspec', '~> 3.7.0'
|
50
50
|
s.add_development_dependency 'rspec-its', '~> 1.2.0'
|
51
|
-
s.add_development_dependency 'rubocop',
|
51
|
+
s.add_development_dependency 'rubocop', '~> 0.57.2'
|
52
52
|
s.add_development_dependency 'simplecov', '~> 0.14.0' # Can't update to 0.15 as it breaks coveralls dep
|
53
|
-
s.add_development_dependency 'webmock',
|
53
|
+
s.add_development_dependency 'webmock', '~> 3.3.0'
|
54
54
|
end
|
data/lib/cms_scanner/helper.rb
CHANGED
@@ -25,7 +25,7 @@ module CMSScanner
|
|
25
25
|
# @note This is used to detect potential custom 404 responding with a 200
|
26
26
|
# @return [ String ] The hash of a 404
|
27
27
|
def error_404_hash
|
28
|
-
@
|
28
|
+
@error_404_hash ||= self.class.page_hash(non_existant_page_url)
|
29
29
|
end
|
30
30
|
|
31
31
|
# @return [ String ] The URL of an unlikely existant page
|
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.39.
|
4
|
+
version: 0.0.39.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- WPScanTeam
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.0.
|
33
|
+
version: 0.0.16.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.0.
|
40
|
+
version: 0.0.16.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: public_suffix
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '5.
|
103
|
+
version: '5.1'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '5.
|
110
|
+
version: '5.1'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: addressable
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -198,14 +198,14 @@ dependencies:
|
|
198
198
|
requirements:
|
199
199
|
- - "~>"
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version: 0.
|
201
|
+
version: 0.57.2
|
202
202
|
type: :development
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
206
|
- - "~>"
|
207
207
|
- !ruby/object:Gem::Version
|
208
|
-
version: 0.
|
208
|
+
version: 0.57.2
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
210
|
name: simplecov
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|