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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ad670b5c5ef2beb079b31d7b8429c4c38cc60176
|
4
|
+
data.tar.gz: 0bd37bd414a72e1295c5662ff17485d27b6cc121
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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://
|
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.
|
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 =~
|
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 =
|
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
|
|
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.41.
|
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-
|
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.
|
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.
|
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.
|
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.
|
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.
|
343
|
+
rubygems_version: 2.6.10
|
344
344
|
signing_key:
|
345
345
|
specification_version: 4
|
346
346
|
summary: CMS Scanner Framework (experimental)
|