mihari 4.10.0 → 4.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mihari/analyzers/circl.rb +1 -1
  3. data/lib/mihari/emitters/slack.rb +2 -2
  4. data/lib/mihari/version.rb +1 -1
  5. data/lib/mihari/web/public/assets/fa-brands-400.3fe890d0.woff2 +0 -0
  6. data/lib/mihari/web/public/{static/fonts/fa-brands-400.f5defc2e.ttf → assets/fa-brands-400.c7ae37d3.ttf} +0 -0
  7. data/lib/mihari/web/public/{static/fonts/fa-regular-400.3edb9004.ttf → assets/fa-regular-400.fdc1f753.ttf} +0 -0
  8. data/lib/mihari/web/public/assets/fa-regular-400.fe69d948.woff2 +0 -0
  9. data/lib/mihari/web/public/assets/fa-solid-900.6d53c706.ttf +0 -0
  10. data/lib/mihari/web/public/assets/fa-solid-900.d27bc752.woff2 +0 -0
  11. data/lib/mihari/web/public/assets/fa-v4compatibility.4d73f280.ttf +0 -0
  12. data/lib/mihari/web/public/assets/fa-v4compatibility.7d1c2ce5.woff2 +0 -0
  13. data/lib/mihari/web/public/assets/index.d3a61a69.js +68 -0
  14. data/lib/mihari/web/public/assets/index.e1e67d84.css +5 -0
  15. data/lib/mihari/web/public/{static/favicon.ico → favicon.ico} +0 -0
  16. data/lib/mihari/web/public/index.html +23 -1
  17. data/lib/mihari/web/public/redoc-static.html +8 -8
  18. data/lib/mihari.rb +0 -2
  19. data/mihari.gemspec +13 -13
  20. metadata +39 -43
  21. data/lib/mihari/web/public/static/css/app.2a5d3d21.css +0 -1
  22. data/lib/mihari/web/public/static/css/chunk-vendors.380724be.css +0 -7
  23. data/lib/mihari/web/public/static/fonts/fa-brands-400.86c7e1fa.woff2 +0 -0
  24. data/lib/mihari/web/public/static/fonts/fa-regular-400.e0550912.woff2 +0 -0
  25. data/lib/mihari/web/public/static/fonts/fa-solid-900.64d5644d.woff2 +0 -0
  26. data/lib/mihari/web/public/static/fonts/fa-solid-900.f418d876.ttf +0 -0
  27. data/lib/mihari/web/public/static/fonts/fa-v4compatibility.7e7e1dad.ttf +0 -0
  28. data/lib/mihari/web/public/static/js/app.6413bf4f.js +0 -2
  29. data/lib/mihari/web/public/static/js/app.6413bf4f.js.map +0 -1
  30. data/lib/mihari/web/public/static/js/chunk-vendors.723e02cf.js +0 -31
  31. data/lib/mihari/web/public/static/js/chunk-vendors.723e02cf.js.map +0 -1
  32. data/sig/lib/mihari/analyzers/spyse.rbs +0 -29
data/lib/mihari.rb CHANGED
@@ -104,8 +104,6 @@ module Mihari
104
104
  setting :slack_channel, default: ENV.fetch("SLACK_CHANNEL", nil)
105
105
  setting :slack_webhook_url, default: ENV.fetch("SLACK_WEBHOOK_URL", nil)
106
106
 
107
- setting :spyse_api_key, default: ENV.fetch("SPYSE_API_KEY", nil)
108
-
109
107
  # TODO: deprecate THEHIVE_API_ENDPOINT
110
108
  setting :thehive_url, default: ENV.fetch("THEHIVE_URL", nil) || ENV.fetch("THEHIVE_API_ENDPOINT", nil)
111
109
  setting :thehive_api_key, default: ENV.fetch("THEHIVE_API_KEY", nil)
data/mihari.gemspec CHANGED
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
29
29
 
30
30
  spec.add_development_dependency "bundler", "~> 2.3"
31
31
  spec.add_development_dependency "coveralls_reborn", "~> 0.25"
32
- spec.add_development_dependency "fakefs", "~> 1.8"
32
+ spec.add_development_dependency "fakefs", "~> 1.9"
33
33
  spec.add_development_dependency "mysql2", "~> 0.5"
34
34
  spec.add_development_dependency "overcommit", "~> 0.59"
35
35
  spec.add_development_dependency "pg", "~> 1.4"
@@ -37,10 +37,10 @@ Gem::Specification.new do |spec|
37
37
  spec.add_development_dependency "rake", "~> 13.0"
38
38
  spec.add_development_dependency "rb-fsevent", "~> 0.11"
39
39
  spec.add_development_dependency "rerun", "~> 0.13"
40
- spec.add_development_dependency "rspec", "~> 3.11"
40
+ spec.add_development_dependency "rspec", "~> 3.12"
41
41
  spec.add_development_dependency "simplecov-lcov", "~> 0.8.0"
42
- spec.add_development_dependency "standard", "~> 1.16"
43
- spec.add_development_dependency "steep", "~> 1.2"
42
+ spec.add_development_dependency "standard", "~> 1.18"
43
+ spec.add_development_dependency "steep", "~> 1.3"
44
44
  spec.add_development_dependency "timecop", "~> 0.9"
45
45
  spec.add_development_dependency "vcr", "~> 6.1"
46
46
  spec.add_development_dependency "webmock", "~> 3.18"
@@ -54,13 +54,13 @@ Gem::Specification.new do |spec|
54
54
  spec.add_dependency "dnpedia", "0.1.0"
55
55
  spec.add_dependency "dnstwister", "0.1.0"
56
56
  spec.add_dependency "dotenv", "2.8.1"
57
- spec.add_dependency "dry-configurable", "0.16.0"
57
+ spec.add_dependency "dry-configurable", "1.0.1"
58
58
  spec.add_dependency "dry-container", "0.11.0"
59
- spec.add_dependency "dry-files", "0.3.0"
59
+ spec.add_dependency "dry-files", "1.0.1"
60
60
  spec.add_dependency "dry-initializer", "3.1.1"
61
- spec.add_dependency "dry-schema", "1.10.6"
62
- spec.add_dependency "dry-struct", "1.4.0"
63
- spec.add_dependency "dry-validation", "1.8.1"
61
+ spec.add_dependency "dry-schema", "1.13.0"
62
+ spec.add_dependency "dry-struct", "1.6.0"
63
+ spec.add_dependency "dry-validation", "1.10.0"
64
64
  spec.add_dependency "email_address", "0.2.4"
65
65
  spec.add_dependency "grape", "1.6.2"
66
66
  spec.add_dependency "grape-entity", "0.10.2"
@@ -82,16 +82,16 @@ Gem::Specification.new do |spec|
82
82
  spec.add_dependency "plissken", "2.0.1"
83
83
  spec.add_dependency "public_suffix", "5.0.0"
84
84
  spec.add_dependency "pulsedive", "0.1.5"
85
- spec.add_dependency "puma", "5.6.5"
85
+ spec.add_dependency "puma", "6.0.0"
86
86
  spec.add_dependency "rack", "2.2.4"
87
87
  spec.add_dependency "rack-contrib", "2.3.0"
88
88
  spec.add_dependency "rack-cors", "1.1.1"
89
89
  spec.add_dependency "securitytrails", "1.0.0"
90
- spec.add_dependency "semantic_logger", "4.11.0"
91
- spec.add_dependency "sentry-ruby", "5.5.0"
90
+ spec.add_dependency "semantic_logger", "4.12.0"
91
+ spec.add_dependency "sentry-ruby", "5.6.0"
92
92
  spec.add_dependency "shodanx", "0.2.1"
93
93
  spec.add_dependency "slack-notifier", "2.4.0"
94
- spec.add_dependency "sqlite3", "1.5.0"
94
+ spec.add_dependency "sqlite3", "1.5.4"
95
95
  spec.add_dependency "thor", "1.2.1"
96
96
  spec.add_dependency "urlscan", "0.8.0"
97
97
  spec.add_dependency "uuidtools", "2.2.0"
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: 4.10.0
4
+ version: 4.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manabu Niseki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-09 00:00:00.000000000 Z
11
+ date: 2022-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.8'
47
+ version: '1.9'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.8'
54
+ version: '1.9'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: mysql2
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '3.11'
159
+ version: '3.12'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '3.11'
166
+ version: '3.12'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: simplecov-lcov
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -184,28 +184,28 @@ dependencies:
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: '1.16'
187
+ version: '1.18'
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: '1.16'
194
+ version: '1.18'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: steep
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: '1.2'
201
+ version: '1.3'
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: '1.2'
208
+ version: '1.3'
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: timecop
211
211
  requirement: !ruby/object:Gem::Requirement
@@ -380,14 +380,14 @@ dependencies:
380
380
  requirements:
381
381
  - - '='
382
382
  - !ruby/object:Gem::Version
383
- version: 0.16.0
383
+ version: 1.0.1
384
384
  type: :runtime
385
385
  prerelease: false
386
386
  version_requirements: !ruby/object:Gem::Requirement
387
387
  requirements:
388
388
  - - '='
389
389
  - !ruby/object:Gem::Version
390
- version: 0.16.0
390
+ version: 1.0.1
391
391
  - !ruby/object:Gem::Dependency
392
392
  name: dry-container
393
393
  requirement: !ruby/object:Gem::Requirement
@@ -408,14 +408,14 @@ dependencies:
408
408
  requirements:
409
409
  - - '='
410
410
  - !ruby/object:Gem::Version
411
- version: 0.3.0
411
+ version: 1.0.1
412
412
  type: :runtime
413
413
  prerelease: false
414
414
  version_requirements: !ruby/object:Gem::Requirement
415
415
  requirements:
416
416
  - - '='
417
417
  - !ruby/object:Gem::Version
418
- version: 0.3.0
418
+ version: 1.0.1
419
419
  - !ruby/object:Gem::Dependency
420
420
  name: dry-initializer
421
421
  requirement: !ruby/object:Gem::Requirement
@@ -436,42 +436,42 @@ dependencies:
436
436
  requirements:
437
437
  - - '='
438
438
  - !ruby/object:Gem::Version
439
- version: 1.10.6
439
+ version: 1.13.0
440
440
  type: :runtime
441
441
  prerelease: false
442
442
  version_requirements: !ruby/object:Gem::Requirement
443
443
  requirements:
444
444
  - - '='
445
445
  - !ruby/object:Gem::Version
446
- version: 1.10.6
446
+ version: 1.13.0
447
447
  - !ruby/object:Gem::Dependency
448
448
  name: dry-struct
449
449
  requirement: !ruby/object:Gem::Requirement
450
450
  requirements:
451
451
  - - '='
452
452
  - !ruby/object:Gem::Version
453
- version: 1.4.0
453
+ version: 1.6.0
454
454
  type: :runtime
455
455
  prerelease: false
456
456
  version_requirements: !ruby/object:Gem::Requirement
457
457
  requirements:
458
458
  - - '='
459
459
  - !ruby/object:Gem::Version
460
- version: 1.4.0
460
+ version: 1.6.0
461
461
  - !ruby/object:Gem::Dependency
462
462
  name: dry-validation
463
463
  requirement: !ruby/object:Gem::Requirement
464
464
  requirements:
465
465
  - - '='
466
466
  - !ruby/object:Gem::Version
467
- version: 1.8.1
467
+ version: 1.10.0
468
468
  type: :runtime
469
469
  prerelease: false
470
470
  version_requirements: !ruby/object:Gem::Requirement
471
471
  requirements:
472
472
  - - '='
473
473
  - !ruby/object:Gem::Version
474
- version: 1.8.1
474
+ version: 1.10.0
475
475
  - !ruby/object:Gem::Dependency
476
476
  name: email_address
477
477
  requirement: !ruby/object:Gem::Requirement
@@ -772,14 +772,14 @@ dependencies:
772
772
  requirements:
773
773
  - - '='
774
774
  - !ruby/object:Gem::Version
775
- version: 5.6.5
775
+ version: 6.0.0
776
776
  type: :runtime
777
777
  prerelease: false
778
778
  version_requirements: !ruby/object:Gem::Requirement
779
779
  requirements:
780
780
  - - '='
781
781
  - !ruby/object:Gem::Version
782
- version: 5.6.5
782
+ version: 6.0.0
783
783
  - !ruby/object:Gem::Dependency
784
784
  name: rack
785
785
  requirement: !ruby/object:Gem::Requirement
@@ -842,28 +842,28 @@ dependencies:
842
842
  requirements:
843
843
  - - '='
844
844
  - !ruby/object:Gem::Version
845
- version: 4.11.0
845
+ version: 4.12.0
846
846
  type: :runtime
847
847
  prerelease: false
848
848
  version_requirements: !ruby/object:Gem::Requirement
849
849
  requirements:
850
850
  - - '='
851
851
  - !ruby/object:Gem::Version
852
- version: 4.11.0
852
+ version: 4.12.0
853
853
  - !ruby/object:Gem::Dependency
854
854
  name: sentry-ruby
855
855
  requirement: !ruby/object:Gem::Requirement
856
856
  requirements:
857
857
  - - '='
858
858
  - !ruby/object:Gem::Version
859
- version: 5.5.0
859
+ version: 5.6.0
860
860
  type: :runtime
861
861
  prerelease: false
862
862
  version_requirements: !ruby/object:Gem::Requirement
863
863
  requirements:
864
864
  - - '='
865
865
  - !ruby/object:Gem::Version
866
- version: 5.5.0
866
+ version: 5.6.0
867
867
  - !ruby/object:Gem::Dependency
868
868
  name: shodanx
869
869
  requirement: !ruby/object:Gem::Requirement
@@ -898,14 +898,14 @@ dependencies:
898
898
  requirements:
899
899
  - - '='
900
900
  - !ruby/object:Gem::Version
901
- version: 1.5.0
901
+ version: 1.5.4
902
902
  type: :runtime
903
903
  prerelease: false
904
904
  version_requirements: !ruby/object:Gem::Requirement
905
905
  requirements:
906
906
  - - '='
907
907
  - !ruby/object:Gem::Version
908
- version: 1.5.0
908
+ version: 1.5.4
909
909
  - !ruby/object:Gem::Dependency
910
910
  name: thor
911
911
  requirement: !ruby/object:Gem::Requirement
@@ -1156,22 +1156,19 @@ files:
1156
1156
  - lib/mihari/web/endpoints/tags.rb
1157
1157
  - lib/mihari/web/middleware/connection_adapter.rb
1158
1158
  - lib/mihari/web/middleware/error_notification_adapter.rb
1159
+ - lib/mihari/web/public/assets/fa-brands-400.3fe890d0.woff2
1160
+ - lib/mihari/web/public/assets/fa-brands-400.c7ae37d3.ttf
1161
+ - lib/mihari/web/public/assets/fa-regular-400.fdc1f753.ttf
1162
+ - lib/mihari/web/public/assets/fa-regular-400.fe69d948.woff2
1163
+ - lib/mihari/web/public/assets/fa-solid-900.6d53c706.ttf
1164
+ - lib/mihari/web/public/assets/fa-solid-900.d27bc752.woff2
1165
+ - lib/mihari/web/public/assets/fa-v4compatibility.4d73f280.ttf
1166
+ - lib/mihari/web/public/assets/fa-v4compatibility.7d1c2ce5.woff2
1167
+ - lib/mihari/web/public/assets/index.d3a61a69.js
1168
+ - lib/mihari/web/public/assets/index.e1e67d84.css
1169
+ - lib/mihari/web/public/favicon.ico
1159
1170
  - lib/mihari/web/public/index.html
1160
1171
  - lib/mihari/web/public/redoc-static.html
1161
- - lib/mihari/web/public/static/css/app.2a5d3d21.css
1162
- - lib/mihari/web/public/static/css/chunk-vendors.380724be.css
1163
- - lib/mihari/web/public/static/favicon.ico
1164
- - lib/mihari/web/public/static/fonts/fa-brands-400.86c7e1fa.woff2
1165
- - lib/mihari/web/public/static/fonts/fa-brands-400.f5defc2e.ttf
1166
- - lib/mihari/web/public/static/fonts/fa-regular-400.3edb9004.ttf
1167
- - lib/mihari/web/public/static/fonts/fa-regular-400.e0550912.woff2
1168
- - lib/mihari/web/public/static/fonts/fa-solid-900.64d5644d.woff2
1169
- - lib/mihari/web/public/static/fonts/fa-solid-900.f418d876.ttf
1170
- - lib/mihari/web/public/static/fonts/fa-v4compatibility.7e7e1dad.ttf
1171
- - lib/mihari/web/public/static/js/app.6413bf4f.js
1172
- - lib/mihari/web/public/static/js/app.6413bf4f.js.map
1173
- - lib/mihari/web/public/static/js/chunk-vendors.723e02cf.js
1174
- - lib/mihari/web/public/static/js/chunk-vendors.723e02cf.js.map
1175
1172
  - mihari.gemspec
1176
1173
  - renovate.json
1177
1174
  - sig/lib/mihari.rbs
@@ -1190,7 +1187,6 @@ files:
1190
1187
  - sig/lib/mihari/analyzers/rule.rbs
1191
1188
  - sig/lib/mihari/analyzers/securitytrails.rbs
1192
1189
  - sig/lib/mihari/analyzers/shodan.rbs
1193
- - sig/lib/mihari/analyzers/spyse.rbs
1194
1190
  - sig/lib/mihari/analyzers/urlscan.rbs
1195
1191
  - sig/lib/mihari/analyzers/virustotal.rbs
1196
1192
  - sig/lib/mihari/analyzers/virustotal_intelligence.rbs
@@ -1 +0,0 @@
1
- .navbar[data-v-60e5363a]{border-bottom:1px solid #d3d3d3}table.is-fullwidth th{width:120px}.tag img[data-v-e4f0c0e0]{margin-right:5px}img.liveshot[data-v-6e4aae1a]{border:1px solid #aaa;border-radius:5px;width:100%;max-height:250px;-o-object-fit:cover;object-fit:cover;-o-object-position:top;object-position:top;display:block;overflow:hidden;transition:max-height 1s,height 1s}img.liveshot[data-v-6e4aae1a]:hover{max-height:none}.modal-card[data-v-6e4aae1a]{width:960px}.my-editor[data-v-4bc0145f]{background:#141414;font-family:Fira code,Fira Mono,Consolas,Menlo,Courier,monospace;font-size:1em;line-height:1.5;padding:5px}.my-editor-wrapper[data-v-4bc0145f]{background:#141414;padding:10px}