ryo 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ryo/error.rb +2 -2
- data/lib/ryo/plugin/dir.rb +0 -1
- data/lib/ryo/plugin/shodan.rb +5 -5
- data/lib/ryo/plugin/subdomain/find_subdomains.rb +1 -0
- data/lib/ryo/plugin/tech.rb +2 -0
- data/lib/ryo/plugin/whois.rb +3 -1
- data/lib/ryo/version.rb +1 -1
- data/ryo.gemspec +3 -3
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6277c58e3603f06d5840859fcfd59fbf2b677d3ec775c0e44e230a4f9027f482
|
4
|
+
data.tar.gz: abd79dccbc55bc0da3b67840575442242cf78f197b78b4686513717ae97b9e70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7631d60dea737c8f1095f691ef544e8cc5a845c7ab13bac63ca813114d61b874ea90358a7132050006ab93aaf8418422043da1b341b089a64df21d830ed1295
|
7
|
+
data.tar.gz: 2fadb68eedd1ec03f787baf0efb1d0ce1c45a5a1f29d5d91f0b43d91c502d36abcfd98d105ae578de1ad7bc38e64a6fde24963a0848b5da44d0db0da4fb923cf
|
data/lib/ryo/error.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module Ryo
|
4
|
-
class NotFoundError < StandardError; end
|
5
|
-
class InvalidURLError < StandardError; end
|
6
4
|
class InvalidOptionsError < StandardError; end
|
5
|
+
class InvalidURLError < StandardError; end
|
6
|
+
class NotFoundError < StandardError; end
|
7
7
|
end
|
data/lib/ryo/plugin/dir.rb
CHANGED
data/lib/ryo/plugin/shodan.rb
CHANGED
@@ -16,11 +16,11 @@ module Ryo
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def self.discover(ip)
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
19
|
+
new.discover(ip)
|
20
|
+
rescue ArgumentError => e
|
21
|
+
{ error: e.to_s }
|
22
|
+
rescue StandardError => e
|
23
|
+
{ error: e.to_s }
|
24
24
|
end
|
25
25
|
end
|
26
26
|
end
|
data/lib/ryo/plugin/tech.rb
CHANGED
data/lib/ryo/plugin/whois.rb
CHANGED
data/lib/ryo/version.rb
CHANGED
data/ryo.gemspec
CHANGED
@@ -28,15 +28,15 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.add_development_dependency "coveralls", "~> 0.8"
|
29
29
|
spec.add_development_dependency "dotenv", "~> 2.5"
|
30
30
|
spec.add_development_dependency "glint", "~> 0.1"
|
31
|
-
spec.add_development_dependency "rake", "~>
|
32
|
-
spec.add_development_dependency "rspec", "~> 3.
|
31
|
+
spec.add_development_dependency "rake", "~> 12.3"
|
32
|
+
spec.add_development_dependency "rspec", "~> 3.8"
|
33
33
|
spec.add_development_dependency "vcr", "~> 4.0"
|
34
34
|
spec.add_development_dependency "webmock", "~> 3.4"
|
35
35
|
|
36
36
|
spec.add_dependency "http", "~> 3.3"
|
37
37
|
spec.add_dependency "oga", "~> 2.15"
|
38
38
|
spec.add_dependency "shodanz", "~> 1.0"
|
39
|
-
spec.add_dependency "simple_whatweb", "~> 0.
|
39
|
+
spec.add_dependency "simple_whatweb", "~> 0.4"
|
40
40
|
spec.add_dependency "thor", "~> 0.19"
|
41
41
|
spec.add_dependency "thread", "~> 0.2.2"
|
42
42
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ryo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manabu Niseki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,28 +72,28 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '12.3'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '12.3'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '3.
|
89
|
+
version: '3.8'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '3.
|
96
|
+
version: '3.8'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: vcr
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,14 +170,14 @@ dependencies:
|
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: '0.
|
173
|
+
version: '0.4'
|
174
174
|
type: :runtime
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: '0.
|
180
|
+
version: '0.4'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: thor
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|