ukemi 0.1.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yaml +27 -0
- data/.overcommit.yml +9 -0
- data/.standard.yml +4 -0
- data/README.md +140 -364
- data/exe/ukemi +3 -1
- data/lib/ukemi.rb +4 -0
- data/lib/ukemi/cli.rb +16 -0
- data/lib/ukemi/configuration.rb +24 -0
- data/lib/ukemi/moderator.rb +39 -9
- data/lib/ukemi/record.rb +1 -4
- data/lib/ukemi/services/circl.rb +5 -5
- data/lib/ukemi/services/dnsdb.rb +53 -0
- data/lib/ukemi/services/otx.rb +72 -0
- data/lib/ukemi/services/passivetotal.rb +5 -5
- data/lib/ukemi/services/securitytrails.rb +21 -20
- data/lib/ukemi/services/virustotal.rb +5 -5
- data/lib/ukemi/version.rb +1 -1
- data/ukemi.gemspec +24 -20
- metadata +86 -25
- data/.travis.yml +0 -6
data/lib/ukemi/version.rb
CHANGED
data/ukemi.gemspec
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require_relative
|
3
|
+
require_relative "lib/ukemi/version"
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
|
-
spec.name
|
7
|
-
spec.version
|
8
|
-
spec.authors
|
9
|
-
spec.email
|
6
|
+
spec.name = "ukemi"
|
7
|
+
spec.version = Ukemi::VERSION
|
8
|
+
spec.authors = ["Manabu Niseki"]
|
9
|
+
spec.email = ["manabu.niseki@gmail.com"]
|
10
10
|
|
11
|
-
spec.summary
|
12
|
-
spec.description
|
13
|
-
spec.homepage
|
14
|
-
spec.license
|
15
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.
|
11
|
+
spec.summary = "A CLI tool for querying passive DNS services"
|
12
|
+
spec.description = "A CLI tool for querying passive DNS services"
|
13
|
+
spec.homepage = "https://github.com/ninoseki/ukemi"
|
14
|
+
spec.license = "MIT"
|
15
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
|
16
16
|
|
17
17
|
spec.metadata["homepage_uri"] = spec.homepage
|
18
18
|
|
@@ -21,24 +21,28 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
22
22
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
23
23
|
end
|
24
|
-
spec.bindir
|
25
|
-
spec.executables
|
24
|
+
spec.bindir = "exe"
|
25
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
26
26
|
spec.require_paths = ["lib"]
|
27
27
|
|
28
|
-
spec.add_development_dependency "bundler", "~> 2.
|
29
|
-
spec.add_development_dependency "
|
28
|
+
spec.add_development_dependency "bundler", "~> 2.2"
|
29
|
+
spec.add_development_dependency "coveralls_reborn", "~> 0.22"
|
30
|
+
spec.add_development_dependency "overcommit", "~> 0.58"
|
30
31
|
spec.add_development_dependency "rake", "~> 13.0"
|
31
|
-
spec.add_development_dependency "rspec", "~> 3.
|
32
|
-
spec.add_development_dependency "
|
33
|
-
spec.add_development_dependency "
|
32
|
+
spec.add_development_dependency "rspec", "~> 3.10"
|
33
|
+
spec.add_development_dependency "standard", "~> 1.1"
|
34
|
+
spec.add_development_dependency "vcr", "~> 6.0"
|
35
|
+
spec.add_development_dependency "webmock", "~> 3.14"
|
34
36
|
|
35
|
-
spec.add_dependency "addressable", "~> 2.
|
37
|
+
spec.add_dependency "addressable", "~> 2.8"
|
38
|
+
spec.add_dependency "dnsdb", "~> 0.1"
|
36
39
|
spec.add_dependency "mem", "~> 0.1"
|
37
|
-
spec.add_dependency "
|
40
|
+
spec.add_dependency "otx_ruby", "~> 0.9"
|
41
|
+
spec.add_dependency "parallel", "~> 1.20"
|
38
42
|
spec.add_dependency "passive_circl", "~> 0.1"
|
39
43
|
spec.add_dependency "passivetotalx", "~> 0.1"
|
40
44
|
spec.add_dependency "public_suffix", "~> 4.0"
|
41
45
|
spec.add_dependency "securitytrails", "~> 1.0"
|
42
|
-
spec.add_dependency "thor", "~> 1.
|
46
|
+
spec.add_dependency "thor", "~> 1.1"
|
43
47
|
spec.add_dependency "virustotalx", "~> 1.1"
|
44
48
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ukemi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manabu Niseki
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,28 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2.
|
19
|
+
version: '2.2'
|
20
20
|
type: :development
|
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: '2.
|
26
|
+
version: '2.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: coveralls_reborn
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
33
|
+
version: '0.22'
|
34
34
|
type: :development
|
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.
|
40
|
+
version: '0.22'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: overcommit
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.58'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.58'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rake
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,56 +72,84 @@ dependencies:
|
|
58
72
|
requirements:
|
59
73
|
- - "~>"
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version: '3.
|
75
|
+
version: '3.10'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.10'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: standard
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.1'
|
62
90
|
type: :development
|
63
91
|
prerelease: false
|
64
92
|
version_requirements: !ruby/object:Gem::Requirement
|
65
93
|
requirements:
|
66
94
|
- - "~>"
|
67
95
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
96
|
+
version: '1.1'
|
69
97
|
- !ruby/object:Gem::Dependency
|
70
98
|
name: vcr
|
71
99
|
requirement: !ruby/object:Gem::Requirement
|
72
100
|
requirements:
|
73
101
|
- - "~>"
|
74
102
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
103
|
+
version: '6.0'
|
76
104
|
type: :development
|
77
105
|
prerelease: false
|
78
106
|
version_requirements: !ruby/object:Gem::Requirement
|
79
107
|
requirements:
|
80
108
|
- - "~>"
|
81
109
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
110
|
+
version: '6.0'
|
83
111
|
- !ruby/object:Gem::Dependency
|
84
112
|
name: webmock
|
85
113
|
requirement: !ruby/object:Gem::Requirement
|
86
114
|
requirements:
|
87
115
|
- - "~>"
|
88
116
|
- !ruby/object:Gem::Version
|
89
|
-
version: '3.
|
117
|
+
version: '3.14'
|
90
118
|
type: :development
|
91
119
|
prerelease: false
|
92
120
|
version_requirements: !ruby/object:Gem::Requirement
|
93
121
|
requirements:
|
94
122
|
- - "~>"
|
95
123
|
- !ruby/object:Gem::Version
|
96
|
-
version: '3.
|
124
|
+
version: '3.14'
|
97
125
|
- !ruby/object:Gem::Dependency
|
98
126
|
name: addressable
|
99
127
|
requirement: !ruby/object:Gem::Requirement
|
100
128
|
requirements:
|
101
129
|
- - "~>"
|
102
130
|
- !ruby/object:Gem::Version
|
103
|
-
version: '2.
|
131
|
+
version: '2.8'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '2.8'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: dnsdb
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0.1'
|
104
146
|
type: :runtime
|
105
147
|
prerelease: false
|
106
148
|
version_requirements: !ruby/object:Gem::Requirement
|
107
149
|
requirements:
|
108
150
|
- - "~>"
|
109
151
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
152
|
+
version: '0.1'
|
111
153
|
- !ruby/object:Gem::Dependency
|
112
154
|
name: mem
|
113
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,20 +164,34 @@ dependencies:
|
|
122
164
|
- - "~>"
|
123
165
|
- !ruby/object:Gem::Version
|
124
166
|
version: '0.1'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: otx_ruby
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0.9'
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0.9'
|
125
181
|
- !ruby/object:Gem::Dependency
|
126
182
|
name: parallel
|
127
183
|
requirement: !ruby/object:Gem::Requirement
|
128
184
|
requirements:
|
129
185
|
- - "~>"
|
130
186
|
- !ruby/object:Gem::Version
|
131
|
-
version: '1.
|
187
|
+
version: '1.20'
|
132
188
|
type: :runtime
|
133
189
|
prerelease: false
|
134
190
|
version_requirements: !ruby/object:Gem::Requirement
|
135
191
|
requirements:
|
136
192
|
- - "~>"
|
137
193
|
- !ruby/object:Gem::Version
|
138
|
-
version: '1.
|
194
|
+
version: '1.20'
|
139
195
|
- !ruby/object:Gem::Dependency
|
140
196
|
name: passive_circl
|
141
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -198,14 +254,14 @@ dependencies:
|
|
198
254
|
requirements:
|
199
255
|
- - "~>"
|
200
256
|
- !ruby/object:Gem::Version
|
201
|
-
version: '1.
|
257
|
+
version: '1.1'
|
202
258
|
type: :runtime
|
203
259
|
prerelease: false
|
204
260
|
version_requirements: !ruby/object:Gem::Requirement
|
205
261
|
requirements:
|
206
262
|
- - "~>"
|
207
263
|
- !ruby/object:Gem::Version
|
208
|
-
version: '1.
|
264
|
+
version: '1.1'
|
209
265
|
- !ruby/object:Gem::Dependency
|
210
266
|
name: virustotalx
|
211
267
|
requirement: !ruby/object:Gem::Requirement
|
@@ -228,9 +284,11 @@ executables:
|
|
228
284
|
extensions: []
|
229
285
|
extra_rdoc_files: []
|
230
286
|
files:
|
287
|
+
- ".github/workflows/test.yaml"
|
231
288
|
- ".gitignore"
|
289
|
+
- ".overcommit.yml"
|
232
290
|
- ".rspec"
|
233
|
-
- ".
|
291
|
+
- ".standard.yml"
|
234
292
|
- Gemfile
|
235
293
|
- LICENSE
|
236
294
|
- README.md
|
@@ -240,10 +298,13 @@ files:
|
|
240
298
|
- exe/ukemi
|
241
299
|
- lib/ukemi.rb
|
242
300
|
- lib/ukemi/cli.rb
|
301
|
+
- lib/ukemi/configuration.rb
|
243
302
|
- lib/ukemi/error.rb
|
244
303
|
- lib/ukemi/moderator.rb
|
245
304
|
- lib/ukemi/record.rb
|
246
305
|
- lib/ukemi/services/circl.rb
|
306
|
+
- lib/ukemi/services/dnsdb.rb
|
307
|
+
- lib/ukemi/services/otx.rb
|
247
308
|
- lib/ukemi/services/passivetotal.rb
|
248
309
|
- lib/ukemi/services/securitytrails.rb
|
249
310
|
- lib/ukemi/services/service.rb
|
@@ -255,7 +316,7 @@ licenses:
|
|
255
316
|
- MIT
|
256
317
|
metadata:
|
257
318
|
homepage_uri: https://github.com/ninoseki/ukemi
|
258
|
-
post_install_message:
|
319
|
+
post_install_message:
|
259
320
|
rdoc_options: []
|
260
321
|
require_paths:
|
261
322
|
- lib
|
@@ -263,15 +324,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
263
324
|
requirements:
|
264
325
|
- - ">="
|
265
326
|
- !ruby/object:Gem::Version
|
266
|
-
version: 2.
|
327
|
+
version: 2.7.0
|
267
328
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
268
329
|
requirements:
|
269
330
|
- - ">="
|
270
331
|
- !ruby/object:Gem::Version
|
271
332
|
version: '0'
|
272
333
|
requirements: []
|
273
|
-
rubygems_version: 3.
|
274
|
-
signing_key:
|
334
|
+
rubygems_version: 3.2.22
|
335
|
+
signing_key:
|
275
336
|
specification_version: 4
|
276
337
|
summary: A CLI tool for querying passive DNS services
|
277
338
|
test_files: []
|