cms_scanner 0.0.41.3 → 0.0.41.4

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
- SHA256:
3
- metadata.gz: 110b5b109b6dd1c9d09549e7deb8fb7508c9bfb0468b24dd6b6d2c2a4c83301d
4
- data.tar.gz: 0c09f110f1c432518d16a21f87cd3787b29322bcb109a5180e5aec3f5facd637
2
+ SHA1:
3
+ metadata.gz: ad670b5c5ef2beb079b31d7b8429c4c38cc60176
4
+ data.tar.gz: 0bd37bd414a72e1295c5662ff17485d27b6cc121
5
5
  SHA512:
6
- metadata.gz: c070cc68a72da9669cefc5792e0d9a8f61ded544cddb4cdc78db2a4dbe9d5f6890e40004761b2f04646b7d685b86c2cd56624d0568b84f0f17fc51c0298b9edb
7
- data.tar.gz: 9fd44567c3802590a41c8db6fec6c6ed0bfbdff3a91afb70c1832752d119fb61591bf5e24d8c4bad80fe53ef7f486212050b452c93101ef814efafb3f94be2ba
6
+ metadata.gz: cf9ce7cafd23dfa33e69c1d2ad62f75ac3c12f27087a62e35876387aabb198351ca5e40dcbd81e9692b41f4043dea2dab629a8a9680d0a4ec607535575234f49
7
+ data.tar.gz: f5331e465aefb61ecf865d2407ee91f63800ecf74b1119cb7c9e807b878fbb809c0ae2c4f331f527c57730364e32bbc295ab2b13828a55f816e553e4db4cc928
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # CMSScanner
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/cms_scanner.svg)](https://badge.fury.io/rb/cms_scanner)
4
- [![Build Status](https://img.shields.io/travis/wpscanteam/CMSScanner.svg)](https://travis-ci.org/wpscanteam/CMSScanner)
4
+ [![Build Status](https://travis-ci.org/wpscanteam/CMSScanner.svg?branch=master)](https://travis-ci.org/wpscanteam/CMSScanner)
5
5
  [![Coverage Status](https://img.shields.io/coveralls/wpscanteam/CMSScanner.svg)](https://coveralls.io/r/wpscanteam/CMSScanner)
6
6
  [![Code Climate](https://api.codeclimate.com/v1/badges/b90b7f9f6982792ef8d6/maintainability)](https://codeclimate.com/github/wpscanteam/CMSScanner/maintainability)
7
7
 
@@ -46,9 +46,9 @@ module CMSScanner
46
46
  potential_urls.uniq.each do |potential_url|
47
47
  next unless target.in_scope?(potential_url)
48
48
 
49
- res = NS::Browser.get(potential_url)
49
+ res = NS::Browser.post(potential_url, body: Digest::MD5.hexdigest(rand(999_999).to_s[0..5]))
50
50
 
51
- next unless res&.body =~ /XML-RPC server accepts POST requests only/i
51
+ next unless res&.body =~ /<methodResponse>/i
52
52
 
53
53
  return NS::XMLRPC.new(potential_url,
54
54
  confidence: 100,
@@ -13,7 +13,7 @@ module CMSScanner
13
13
  # Adds the potential option file paths to the option_parser
14
14
  def register_options_files
15
15
  [Dir.home, Dir.pwd].each do |dir|
16
- option_parser.options_files.supported_extensions.each do |ext|
16
+ option_parser.options_files.class.supported_extensions.each do |ext|
17
17
  @option_parser.options_files << Pathname.new(dir).join(".#{NS.app_name}", "cli_options.#{ext}").to_s
18
18
  end
19
19
  end
@@ -3,7 +3,8 @@ module CMSScanner
3
3
  module Platform
4
4
  # Some PHP specific implementation
5
5
  module PHP
6
- DEBUG_LOG_PATTERN = /\[[^\]]+\] PHP (?:Warning|Error|Notice):/.freeze
6
+ DEBUG_LOG_PATTERN = /(?:\[\d{2}\-[a-zA-Z]{3}\-\d{4}\s\d{2}\:\d{2}:\d{2}\s[A-Z]{3}\]|
7
+ PHP\s(?:Fatal|Warning|Strict|Error|Notice):)/x.freeze
7
8
  FPD_PATTERN = /Fatal error:.+? in (.+?) on/.freeze
8
9
  ERROR_LOG_PATTERN = /PHP Fatal error/i.freeze
9
10
 
@@ -1,4 +1,4 @@
1
1
  # Version
2
2
  module CMSScanner
3
- VERSION = '0.0.41.3'.freeze
3
+ VERSION = '0.0.41.4'.freeze
4
4
  end
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.41.3
4
+ version: 0.0.41.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - WPScanTeam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-11 00:00:00.000000000 Z
11
+ date: 2019-03-07 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.16.6
33
+ version: 0.0.17.0
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.16.6
40
+ version: 0.0.17.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: public_suffix
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -184,14 +184,14 @@ dependencies:
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 0.62.0
187
+ version: 0.65.0
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: 0.62.0
194
+ version: 0.65.0
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: simplecov
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -340,7 +340,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
340
340
  version: '0'
341
341
  requirements: []
342
342
  rubyforge_project:
343
- rubygems_version: 2.7.8
343
+ rubygems_version: 2.6.10
344
344
  signing_key:
345
345
  specification_version: 4
346
346
  summary: CMS Scanner Framework (experimental)