cms_scanner 0.0.38.1 → 0.0.38.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/headers.rb +0 -4
- data/app/models/interesting_finding.rb +1 -1
- data/example/.travis.yml +8 -12
- data/example/Gemfile +0 -4
- data/example/Rakefile +1 -1
- data/example/cmsscan.gemspec +13 -15
- data/lib/cms_scanner/browser.rb +2 -2
- data/lib/cms_scanner/finders/finding.rb +1 -0
- data/lib/cms_scanner/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: 711e6c00c5f59acabe082d59b109ad5ef1ec9d96
|
4
|
+
data.tar.gz: bdc437f144f754242846aca0b96123bb4bc38b93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8baa71595737ccc2773ad1eb0d5624f546deacfc22285ae6b85ccac2c640719bec7b4445d230d3ece75b17fd3ccf926d9a8fa95625526932cc4fa2b710bfa6a4
|
7
|
+
data.tar.gz: 9edda50bf8183d29b4b8d2abe6e79547f065b6a51e6940f95136d31b1580a3b67a0293bcc9b92a66bf6bdcb9982091d637ca42a7e0537258cbf32b9bd19a6f98
|
data/app/models/headers.rb
CHANGED
data/example/.travis.yml
CHANGED
@@ -1,22 +1,18 @@
|
|
1
|
-
# Not setup yet
|
2
1
|
language: ruby
|
3
2
|
sudo: false
|
4
3
|
cache: bundler
|
5
4
|
rvm:
|
6
|
-
- 2.
|
7
|
-
- 2.
|
8
|
-
- 2.
|
9
|
-
- 2.
|
10
|
-
- 2.
|
11
|
-
- 2.
|
12
|
-
- 2.1
|
13
|
-
- 2.2.0
|
14
|
-
- 2.2.1
|
15
|
-
- 2.2.2
|
16
|
-
- 2.2.3
|
5
|
+
- 2.3.0
|
6
|
+
- 2.3.1
|
7
|
+
- 2.3.2
|
8
|
+
- 2.3.3
|
9
|
+
- 2.3.4
|
10
|
+
- 2.4.0
|
11
|
+
- 2.4.1
|
17
12
|
- ruby-head
|
18
13
|
before_install:
|
19
14
|
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
|
15
|
+
- "gem update --system"
|
20
16
|
matrix:
|
21
17
|
allow_failures:
|
22
18
|
- rvm: ruby-head
|
data/example/Gemfile
CHANGED
data/example/Rakefile
CHANGED
data/example/cmsscan.gemspec
CHANGED
@@ -34,20 +34,18 @@ Gem::Specification.new do |s|
|
|
34
34
|
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
35
35
|
s.require_path = 'lib'
|
36
36
|
|
37
|
-
s.add_dependency '
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
s.add_dependency '
|
42
|
-
|
43
|
-
s.add_dependency 'dm-constraints', '~> 1.2.0'
|
44
|
-
s.add_dependency 'dm-sqlite-adapter', '~> 1.2.0'
|
45
|
-
|
46
|
-
s.add_development_dependency 'rake', '~> 11.3.0'
|
47
|
-
s.add_development_dependency 'rspec', '~> 3.5.0'
|
48
|
-
s.add_development_dependency 'rspec-its', '~> 1.2.0'
|
37
|
+
s.add_dependency 'cms_scanner', '~> 0.0.38.1'
|
38
|
+
|
39
|
+
# Already required by CMSScanner, so version restrictions loosen
|
40
|
+
s.add_dependency 'activesupport', '~> 5.1'
|
41
|
+
s.add_dependency 'yajl-ruby', '~> 1.3'
|
42
|
+
|
49
43
|
s.add_development_dependency 'bundler', '~> 1.6'
|
50
|
-
s.add_development_dependency '
|
51
|
-
s.add_development_dependency '
|
52
|
-
s.add_development_dependency '
|
44
|
+
s.add_development_dependency 'coveralls', '~> 0.8.0'
|
45
|
+
s.add_development_dependency 'rake', '~> 12.0'
|
46
|
+
s.add_development_dependency 'rspec', '~> 3.7.0'
|
47
|
+
s.add_development_dependency 'rspec-its', '~> 1.2.0'
|
48
|
+
s.add_development_dependency 'rubocop', '~> 0.51.0'
|
49
|
+
s.add_development_dependency 'simplecov', '~> 0.14.0' # Can't update to 0.15 as it breaks coveralls dep
|
50
|
+
s.add_development_dependency 'webmock', '~> 3.1.0'
|
53
51
|
end
|
data/lib/cms_scanner/browser.rb
CHANGED
@@ -58,8 +58,8 @@ module CMSScanner
|
|
58
58
|
params[typhoeus_opt] = attr_value unless attr_value.nil?
|
59
59
|
end
|
60
60
|
|
61
|
-
params[:
|
62
|
-
params[:userpwd]
|
61
|
+
params[:proxyuserpwd] = "#{proxy_auth[:username]}:#{proxy_auth[:password]}" if proxy_auth
|
62
|
+
params[:userpwd] = "#{http_auth[:username]}:#{http_auth[:password]}" if http_auth
|
63
63
|
|
64
64
|
params[:headers]['Host'] = vhost if vhost
|
65
65
|
|
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.38.
|
4
|
+
version: 0.0.38.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- WPScanTeam
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|