cms_scanner 0.0.25 → 0.0.26

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
2
  SHA1:
3
- metadata.gz: 343785a18bbbde9a57419ef9f6a4228c672b202f
4
- data.tar.gz: 4a0105ee24d5d6a406e2ca3e04511edc40d11e88
3
+ metadata.gz: 0ff64602f15392cf239e384a30bf3692407900d6
4
+ data.tar.gz: d1da73eaeb8c025381b4d52ec95d04a46f3f647e
5
5
  SHA512:
6
- metadata.gz: d96e7bcc2e2119d9226bd54e467ebad3ddbe35d7016039c32a50544c852dbf79b75f47ed2da6b9adbce0ae6490a657f6619aadd08f0bf47a7e94dff56435caf4
7
- data.tar.gz: e402fee7b0e1bdf718be4eb41a42ae205152c6af70a82ab3e4fe8260f91f13edd52dc3e73b2d5ccbf334cede3789e42da592b3e2ac0f7a75a0b4e03770b73bd2
6
+ metadata.gz: 489d1a4a188e3e872d40e9fe835b1adb23d49412bfd6faa0cbbddbf18796e28b6125bb1bf55f4e45cda408ce6abd5f8a572a4e82930b6f99d883038cb6883d01
7
+ data.tar.gz: 52e57b5a5e0d4ede938c1a8996aff87b63ab7af26caf900a7a5e22565e257c9f419b784c06e8ade1f8a4a250212d2455ab80bfdfc1614f98f1021a91b9b1b73f
@@ -35,7 +35,7 @@ module CMSScanner
35
35
  OptPositiveInteger.new(['--request-timeout SECONDS', 'The request timeout in seconds'],
36
36
  default: 60),
37
37
  OptPositiveInteger.new(['--connect-timeout SECONDS', 'The connection timeout in seconds'],
38
- default: 5)
38
+ default: 30)
39
39
  ] + cli_browser_proxy_options + cli_browser_cookies_options + cli_browser_cache_options
40
40
  end
41
41
 
@@ -0,0 +1,3 @@
1
+ <%= @msg %>
2
+
3
+ Please use --help/-h for the list of available options.
@@ -31,7 +31,7 @@ Gem::Specification.new do |s|
31
31
  s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
32
32
  s.require_path = 'lib'
33
33
 
34
- s.add_dependency 'opt_parse_validator', '~> 0.0.10'
34
+ s.add_dependency 'opt_parse_validator', '~> 0.0.11'
35
35
  s.add_dependency 'typhoeus', '~> 0.7'
36
36
  s.add_dependency 'nokogiri', '~> 1.6'
37
37
  s.add_dependency 'addressable', '~> 2.3'
@@ -67,6 +67,8 @@ module CMSScanner
67
67
 
68
68
  def run
69
69
  controllers.run
70
+ rescue OptParseValidator::NoRequiredOption => e
71
+ formatter.output('@usage', msg: e.message)
70
72
  rescue => e
71
73
  formatter.output('@scan_aborted',
72
74
  reason: e.message,
@@ -1,4 +1,4 @@
1
1
  # Version
2
2
  module CMSScanner
3
- VERSION = '0.0.25'
3
+ VERSION = '0.0.26'
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.25
4
+ version: 0.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - WPScanTeam - Erwan Le Rousseau
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-21 00:00:00.000000000 Z
11
+ date: 2015-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opt_parse_validator
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.0.10
19
+ version: 0.0.11
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.0.10
26
+ version: 0.0.11
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: typhoeus
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -245,6 +245,7 @@ files:
245
245
  - app/views/cli/interesting_findings/_array.erb
246
246
  - app/views/cli/interesting_findings/findings.erb
247
247
  - app/views/cli/scan_aborted.erb
248
+ - app/views/cli/usage.erb
248
249
  - app/views/json/core/finished.erb
249
250
  - app/views/json/core/started.erb
250
251
  - app/views/json/interesting_findings/findings.erb