cms_scanner 0.0.38.0 → 0.0.38.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/core/cli_options.rb +5 -5
- data/cms_scanner.gemspec +1 -1
- data/lib/cms_scanner/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84bc333d2200c961c07ebe395a03a1867bd55f6d
|
4
|
+
data.tar.gz: 4aa8d7a8558f4384838cd67a198405509ddd93b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4e591e1b7fa9d8fa2e8b894cdbea84fe9e5ac7f5f5cd0a1c83ef63b40391fe466ba76b9f66aa275bf4f2e77f558846b1b94be865c94eefa57b02760fb7746ca
|
7
|
+
data.tar.gz: 8622e39ef72c8120f61e584ed7db80e39aaf9b42fc74bfccc135dd13b50e455628625523077e4cb6976f72ed907d71ee05de2e65d419ad9c0f348aef8fb922d5
|
@@ -15,7 +15,7 @@ module CMSScanner
|
|
15
15
|
OptChoice.new(['--detection-mode MODE'],
|
16
16
|
choices: %w[mixed passive aggressive],
|
17
17
|
normalize: :to_sym,
|
18
|
-
default:
|
18
|
+
default: :mixed),
|
19
19
|
OptArray.new(['--scope DOMAINS',
|
20
20
|
'Comma separated (sub-)domains to consider in scope. ',
|
21
21
|
'Wildcard(s) allowed in the trd of valid domains, e.g: *.target.tld'])
|
@@ -31,13 +31,13 @@ module CMSScanner
|
|
31
31
|
'List of agents to use with --random-user-agent'], exists: true),
|
32
32
|
OptCredentials.new(['--http-auth login:password']),
|
33
33
|
OptPositiveInteger.new(['--max-threads VALUE', '-t', 'The max threads to use'],
|
34
|
-
default:
|
34
|
+
default: 5),
|
35
35
|
OptPositiveInteger.new(['--throttle MilliSeconds', 'Milliseconds to wait before doing another web request. ' \
|
36
36
|
'If used, the max threads will be set to 1.']),
|
37
37
|
OptPositiveInteger.new(['--request-timeout SECONDS', 'The request timeout in seconds'],
|
38
|
-
default:
|
38
|
+
default: 60),
|
39
39
|
OptPositiveInteger.new(['--connect-timeout SECONDS', 'The connection timeout in seconds'],
|
40
|
-
default:
|
40
|
+
default: 30)
|
41
41
|
] + cli_browser_proxy_options + cli_browser_cookies_options + cli_browser_cache_options
|
42
42
|
end
|
43
43
|
|
@@ -76,7 +76,7 @@ module CMSScanner
|
|
76
76
|
# @return [ Array<OptParseValidator::OptBase> ]
|
77
77
|
def cli_browser_cache_options
|
78
78
|
[
|
79
|
-
OptInteger.new(['--cache-ttl TIME_TO_LIVE', 'The cache time to live in seconds'], default:
|
79
|
+
OptInteger.new(['--cache-ttl TIME_TO_LIVE', 'The cache time to live in seconds'], default: 600),
|
80
80
|
OptBoolean.new(['--clear-cache', 'Clear the cache before the scan']),
|
81
81
|
OptDirectoryPath.new(['--cache-dir PATH'],
|
82
82
|
readable: true,
|
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.14.
|
35
|
+
s.add_dependency 'opt_parse_validator', '~> 0.0.14.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'
|
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.1
|
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-
|
11
|
+
date: 2017-11-08 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.14.
|
33
|
+
version: 0.0.14.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.14.
|
40
|
+
version: 0.0.14.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: public_suffix
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|