mihari 7.0.3 → 7.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mihari/analyzers/base.rb +9 -1
- data/lib/mihari/cli/application.rb +9 -9
- data/lib/mihari/clients/fofa.rb +4 -1
- data/lib/mihari/commands/rule.rb +0 -2
- data/lib/mihari/concerns/error_unwrappable.rb +3 -2
- data/lib/mihari/concerns/retriable.rb +24 -11
- data/lib/mihari/errors.rb +34 -8
- data/lib/mihari/http.rb +0 -5
- data/lib/mihari/rule.rb +27 -1
- data/lib/mihari/structs/fofa.rb +5 -0
- data/lib/mihari/version.rb +1 -1
- data/lib/mihari/web/endpoints/ip_addresses.rb +9 -5
- data/lib/mihari/web/endpoints/rules.rb +6 -5
- data/lib/mihari/web/middleware/capture_exceptions.rb +0 -2
- data/lib/mihari/web/public/assets/{index-cQUcyII5.js → index-geliIfjB.js} +48 -48
- data/lib/mihari/web/public/index.html +1 -1
- data/mihari.gemspec +5 -4
- data/mkdocs.yml +1 -1
- metadata +33 -19
@@ -6,7 +6,7 @@
|
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
7
7
|
<link rel="icon" href="/favicon.ico" />
|
8
8
|
<title>Mihari</title>
|
9
|
-
<script type="module" crossorigin src="/assets/index-
|
9
|
+
<script type="module" crossorigin src="/assets/index-geliIfjB.js"></script>
|
10
10
|
<link rel="stylesheet" crossorigin href="/assets/index-dVaNxqTC.css">
|
11
11
|
</head>
|
12
12
|
<body>
|
data/mihari.gemspec
CHANGED
@@ -53,10 +53,10 @@ Gem::Specification.new do |spec|
|
|
53
53
|
spec.add_development_dependency "rerun", "~> 0.14"
|
54
54
|
spec.add_development_dependency "rspec", "~> 3.12"
|
55
55
|
spec.add_development_dependency "rspec-parameterized", "~> 1.0"
|
56
|
+
spec.add_development_dependency "rubocop-factory_bot", "~> 2.24"
|
57
|
+
spec.add_development_dependency "rubocop-rake", "~> 0.6"
|
56
58
|
spec.add_development_dependency "rubocop-rspec", "~> 2.25"
|
57
59
|
spec.add_development_dependency "rubocop-yard", "~> 0.9"
|
58
|
-
spec.add_development_dependency "rubocop-rake", "~> 0.6"
|
59
|
-
spec.add_development_dependency "rubocop-factory_bot", "~> 2.24"
|
60
60
|
spec.add_development_dependency "simplecov-lcov", "~> 0.8"
|
61
61
|
spec.add_development_dependency "standard", "~> 1.33"
|
62
62
|
spec.add_development_dependency "test-prof", "~> 1.3"
|
@@ -74,6 +74,7 @@ Gem::Specification.new do |spec|
|
|
74
74
|
spec.add_dependency "addressable", "~> 2.8"
|
75
75
|
spec.add_dependency "anyway_config", "2.5.4"
|
76
76
|
spec.add_dependency "awrence", "2.0.1"
|
77
|
+
spec.add_dependency "csv", "~> 3.2"
|
77
78
|
spec.add_dependency "dotenv", "2.8.1"
|
78
79
|
spec.add_dependency "dry-container", "0.11.0"
|
79
80
|
spec.add_dependency "dry-files", "1.1.0"
|
@@ -84,7 +85,7 @@ Gem::Specification.new do |spec|
|
|
84
85
|
spec.add_dependency "email_address", "0.2.4"
|
85
86
|
spec.add_dependency "grape", "2.0.0"
|
86
87
|
spec.add_dependency "grape-entity", "1.0.0"
|
87
|
-
spec.add_dependency "grape-swagger", "2.0.
|
88
|
+
spec.add_dependency "grape-swagger", "2.0.1"
|
88
89
|
spec.add_dependency "grape-swagger-entity", "0.5.2"
|
89
90
|
spec.add_dependency "http", "5.1.1"
|
90
91
|
spec.add_dependency "jr-cli", "0.6.0"
|
@@ -94,7 +95,7 @@ Gem::Specification.new do |spec|
|
|
94
95
|
spec.add_dependency "parallel", "1.24.0"
|
95
96
|
spec.add_dependency "plissken", "2.0.1"
|
96
97
|
spec.add_dependency "public_suffix", "5.0.4"
|
97
|
-
spec.add_dependency "puma", "6.4.
|
98
|
+
spec.add_dependency "puma", "6.4.1"
|
98
99
|
spec.add_dependency "rack", "3.0.8"
|
99
100
|
spec.add_dependency "rack-cors", "2.0.1"
|
100
101
|
spec.add_dependency "rack-session", "2.0.0"
|
data/mkdocs.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mihari
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.
|
4
|
+
version: 7.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manabu Niseki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: better_errors
|
@@ -249,61 +249,61 @@ dependencies:
|
|
249
249
|
- !ruby/object:Gem::Version
|
250
250
|
version: '1.0'
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
|
-
name: rubocop-
|
252
|
+
name: rubocop-factory_bot
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
254
254
|
requirements:
|
255
255
|
- - "~>"
|
256
256
|
- !ruby/object:Gem::Version
|
257
|
-
version: '2.
|
257
|
+
version: '2.24'
|
258
258
|
type: :development
|
259
259
|
prerelease: false
|
260
260
|
version_requirements: !ruby/object:Gem::Requirement
|
261
261
|
requirements:
|
262
262
|
- - "~>"
|
263
263
|
- !ruby/object:Gem::Version
|
264
|
-
version: '2.
|
264
|
+
version: '2.24'
|
265
265
|
- !ruby/object:Gem::Dependency
|
266
|
-
name: rubocop-
|
266
|
+
name: rubocop-rake
|
267
267
|
requirement: !ruby/object:Gem::Requirement
|
268
268
|
requirements:
|
269
269
|
- - "~>"
|
270
270
|
- !ruby/object:Gem::Version
|
271
|
-
version: '0.
|
271
|
+
version: '0.6'
|
272
272
|
type: :development
|
273
273
|
prerelease: false
|
274
274
|
version_requirements: !ruby/object:Gem::Requirement
|
275
275
|
requirements:
|
276
276
|
- - "~>"
|
277
277
|
- !ruby/object:Gem::Version
|
278
|
-
version: '0.
|
278
|
+
version: '0.6'
|
279
279
|
- !ruby/object:Gem::Dependency
|
280
|
-
name: rubocop-
|
280
|
+
name: rubocop-rspec
|
281
281
|
requirement: !ruby/object:Gem::Requirement
|
282
282
|
requirements:
|
283
283
|
- - "~>"
|
284
284
|
- !ruby/object:Gem::Version
|
285
|
-
version: '
|
285
|
+
version: '2.25'
|
286
286
|
type: :development
|
287
287
|
prerelease: false
|
288
288
|
version_requirements: !ruby/object:Gem::Requirement
|
289
289
|
requirements:
|
290
290
|
- - "~>"
|
291
291
|
- !ruby/object:Gem::Version
|
292
|
-
version: '
|
292
|
+
version: '2.25'
|
293
293
|
- !ruby/object:Gem::Dependency
|
294
|
-
name: rubocop-
|
294
|
+
name: rubocop-yard
|
295
295
|
requirement: !ruby/object:Gem::Requirement
|
296
296
|
requirements:
|
297
297
|
- - "~>"
|
298
298
|
- !ruby/object:Gem::Version
|
299
|
-
version: '
|
299
|
+
version: '0.9'
|
300
300
|
type: :development
|
301
301
|
prerelease: false
|
302
302
|
version_requirements: !ruby/object:Gem::Requirement
|
303
303
|
requirements:
|
304
304
|
- - "~>"
|
305
305
|
- !ruby/object:Gem::Version
|
306
|
-
version: '
|
306
|
+
version: '0.9'
|
307
307
|
- !ruby/object:Gem::Dependency
|
308
308
|
name: simplecov-lcov
|
309
309
|
requirement: !ruby/object:Gem::Requirement
|
@@ -444,6 +444,20 @@ dependencies:
|
|
444
444
|
- - '='
|
445
445
|
- !ruby/object:Gem::Version
|
446
446
|
version: 2.0.1
|
447
|
+
- !ruby/object:Gem::Dependency
|
448
|
+
name: csv
|
449
|
+
requirement: !ruby/object:Gem::Requirement
|
450
|
+
requirements:
|
451
|
+
- - "~>"
|
452
|
+
- !ruby/object:Gem::Version
|
453
|
+
version: '3.2'
|
454
|
+
type: :runtime
|
455
|
+
prerelease: false
|
456
|
+
version_requirements: !ruby/object:Gem::Requirement
|
457
|
+
requirements:
|
458
|
+
- - "~>"
|
459
|
+
- !ruby/object:Gem::Version
|
460
|
+
version: '3.2'
|
447
461
|
- !ruby/object:Gem::Dependency
|
448
462
|
name: dotenv
|
449
463
|
requirement: !ruby/object:Gem::Requirement
|
@@ -590,14 +604,14 @@ dependencies:
|
|
590
604
|
requirements:
|
591
605
|
- - '='
|
592
606
|
- !ruby/object:Gem::Version
|
593
|
-
version: 2.0.
|
607
|
+
version: 2.0.1
|
594
608
|
type: :runtime
|
595
609
|
prerelease: false
|
596
610
|
version_requirements: !ruby/object:Gem::Requirement
|
597
611
|
requirements:
|
598
612
|
- - '='
|
599
613
|
- !ruby/object:Gem::Version
|
600
|
-
version: 2.0.
|
614
|
+
version: 2.0.1
|
601
615
|
- !ruby/object:Gem::Dependency
|
602
616
|
name: grape-swagger-entity
|
603
617
|
requirement: !ruby/object:Gem::Requirement
|
@@ -730,14 +744,14 @@ dependencies:
|
|
730
744
|
requirements:
|
731
745
|
- - '='
|
732
746
|
- !ruby/object:Gem::Version
|
733
|
-
version: 6.4.
|
747
|
+
version: 6.4.1
|
734
748
|
type: :runtime
|
735
749
|
prerelease: false
|
736
750
|
version_requirements: !ruby/object:Gem::Requirement
|
737
751
|
requirements:
|
738
752
|
- - '='
|
739
753
|
- !ruby/object:Gem::Version
|
740
|
-
version: 6.4.
|
754
|
+
version: 6.4.1
|
741
755
|
- !ruby/object:Gem::Dependency
|
742
756
|
name: rack
|
743
757
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1147,8 +1161,8 @@ files:
|
|
1147
1161
|
- lib/mihari/web/endpoints/tags.rb
|
1148
1162
|
- lib/mihari/web/middleware/capture_exceptions.rb
|
1149
1163
|
- lib/mihari/web/middleware/connection.rb
|
1150
|
-
- lib/mihari/web/public/assets/index-cQUcyII5.js
|
1151
1164
|
- lib/mihari/web/public/assets/index-dVaNxqTC.css
|
1165
|
+
- lib/mihari/web/public/assets/index-geliIfjB.js
|
1152
1166
|
- lib/mihari/web/public/assets/mode-yaml-BC4MIiYj.js
|
1153
1167
|
- lib/mihari/web/public/favicon.ico
|
1154
1168
|
- lib/mihari/web/public/index.html
|