mihari 6.1.0 → 6.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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-216d49d1.js"></script>
9
+ <script type="module" crossorigin src="/assets/index-1d77cd61.js"></script>
10
10
  <link rel="stylesheet" href="/assets/index-4c8509ee.css">
11
11
  </head>
12
12
  <body>
@@ -12,7 +12,7 @@
12
12
  margin: 0;
13
13
  }
14
14
  </style>
15
- <script src="https://cdn.redoc.ly/redoc/v2.1.2/bundles/redoc.standalone.js"></script><style data-styled="true" data-styled-version="6.1.1">.gvoNGN{width:calc(100% - 40%);padding:0 40px;}/*!sc*/
15
+ <script src="https://cdn.redoc.ly/redoc/v2.1.3/bundles/redoc.standalone.js"></script><style data-styled="true" data-styled-version="6.1.1">.gvoNGN{width:calc(100% - 40%);padding:0 40px;}/*!sc*/
16
16
  @media print,screen and (max-width: 75rem){.gvoNGN{width:100%;padding:40px 40px;}}/*!sc*/
17
17
  .jIkZBx{width:calc(100% - 40%);padding:0 40px;}/*!sc*/
18
18
  @media print,screen and (max-width: 75rem){.jIkZBx{width:100%;padding:0px 40px;}}/*!sc*/
data/lib/mihari.rb CHANGED
@@ -148,7 +148,7 @@ require "mihari/actor"
148
148
 
149
149
  require "mihari/database"
150
150
  require "mihari/http"
151
- require "mihari/type_checker"
151
+ require "mihari/data_type"
152
152
  require "mihari/rule"
153
153
 
154
154
  # Enrichers
@@ -190,6 +190,7 @@ require "mihari/clients/circl"
190
190
  require "mihari/clients/crtsh"
191
191
  require "mihari/clients/dnstwister"
192
192
  require "mihari/clients/fofa"
193
+ require "mihari/clients/google_public_dns"
193
194
  require "mihari/clients/greynoise"
194
195
  require "mihari/clients/hunterhow"
195
196
  require "mihari/clients/misp"
data/mihari.gemspec CHANGED
@@ -55,13 +55,14 @@ Gem::Specification.new do |spec|
55
55
  spec.add_development_dependency "rubocop-yard", "~> 0.8"
56
56
  spec.add_development_dependency "simplecov-lcov", "~> 0.8"
57
57
  spec.add_development_dependency "standard", "~> 1.32"
58
- spec.add_development_dependency "test-prof", "~> 1.2"
58
+ spec.add_development_dependency "test-prof", "~> 1.3"
59
59
  spec.add_development_dependency "timecop", "~> 0.9"
60
60
  spec.add_development_dependency "vcr", "~> 6.2"
61
61
  spec.add_development_dependency "webmock", "~> 3.19"
62
62
 
63
63
  unless ci_env?
64
64
  spec.add_development_dependency "lefthook", "~> 1.5"
65
+ spec.add_development_dependency "ruby-lsp-rspec", "~> 0.1"
65
66
  spec.add_development_dependency "solargraph", "~> 0.49"
66
67
  end
67
68
 
@@ -94,9 +95,9 @@ Gem::Specification.new do |spec|
94
95
  spec.add_dependency "rack-cors", "2.0.1"
95
96
  spec.add_dependency "rackup", "2.1.0"
96
97
  spec.add_dependency "semantic_logger", "4.15.0"
97
- spec.add_dependency "sentry-ruby", "5.13.0"
98
+ spec.add_dependency "sentry-ruby", "~> 5.14"
98
99
  spec.add_dependency "slack-notifier", "2.4.0"
99
- spec.add_dependency "sqlite3", "1.6.8"
100
+ spec.add_dependency "sqlite3", "~> 1.6"
100
101
  spec.add_dependency "thor", "1.3.0"
101
102
  spec.add_dependency "thor-hollaback", "0.2.1"
102
103
  spec.add_dependency "uuidtools", "2.2.0"
data/requirements.txt CHANGED
@@ -1,2 +1,2 @@
1
1
  mkdocs==1.5.3
2
- mkdocs-material==9.4.10
2
+ mkdocs-material==9.4.14
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: 6.1.0
4
+ version: 6.2.0
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: 2023-11-25 00:00:00.000000000 Z
11
+ date: 2023-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: better_errors
@@ -282,14 +282,14 @@ dependencies:
282
282
  requirements:
283
283
  - - "~>"
284
284
  - !ruby/object:Gem::Version
285
- version: '1.2'
285
+ version: '1.3'
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: '1.2'
292
+ version: '1.3'
293
293
  - !ruby/object:Gem::Dependency
294
294
  name: timecop
295
295
  requirement: !ruby/object:Gem::Requirement
@@ -332,34 +332,6 @@ dependencies:
332
332
  - - "~>"
333
333
  - !ruby/object:Gem::Version
334
334
  version: '3.19'
335
- - !ruby/object:Gem::Dependency
336
- name: lefthook
337
- requirement: !ruby/object:Gem::Requirement
338
- requirements:
339
- - - "~>"
340
- - !ruby/object:Gem::Version
341
- version: '1.5'
342
- type: :development
343
- prerelease: false
344
- version_requirements: !ruby/object:Gem::Requirement
345
- requirements:
346
- - - "~>"
347
- - !ruby/object:Gem::Version
348
- version: '1.5'
349
- - !ruby/object:Gem::Dependency
350
- name: solargraph
351
- requirement: !ruby/object:Gem::Requirement
352
- requirements:
353
- - - "~>"
354
- - !ruby/object:Gem::Version
355
- version: '0.49'
356
- type: :development
357
- prerelease: false
358
- version_requirements: !ruby/object:Gem::Requirement
359
- requirements:
360
- - - "~>"
361
- - !ruby/object:Gem::Version
362
- version: '0.49'
363
335
  - !ruby/object:Gem::Dependency
364
336
  name: activerecord
365
337
  requirement: !ruby/object:Gem::Requirement
@@ -770,16 +742,16 @@ dependencies:
770
742
  name: sentry-ruby
771
743
  requirement: !ruby/object:Gem::Requirement
772
744
  requirements:
773
- - - '='
745
+ - - "~>"
774
746
  - !ruby/object:Gem::Version
775
- version: 5.13.0
747
+ version: '5.14'
776
748
  type: :runtime
777
749
  prerelease: false
778
750
  version_requirements: !ruby/object:Gem::Requirement
779
751
  requirements:
780
- - - '='
752
+ - - "~>"
781
753
  - !ruby/object:Gem::Version
782
- version: 5.13.0
754
+ version: '5.14'
783
755
  - !ruby/object:Gem::Dependency
784
756
  name: slack-notifier
785
757
  requirement: !ruby/object:Gem::Requirement
@@ -798,16 +770,16 @@ dependencies:
798
770
  name: sqlite3
799
771
  requirement: !ruby/object:Gem::Requirement
800
772
  requirements:
801
- - - '='
773
+ - - "~>"
802
774
  - !ruby/object:Gem::Version
803
- version: 1.6.8
775
+ version: '1.6'
804
776
  type: :runtime
805
777
  prerelease: false
806
778
  version_requirements: !ruby/object:Gem::Requirement
807
779
  requirements:
808
- - - '='
780
+ - - "~>"
809
781
  - !ruby/object:Gem::Version
810
- version: 1.6.8
782
+ version: '1.6'
811
783
  - !ruby/object:Gem::Dependency
812
784
  name: thor
813
785
  requirement: !ruby/object:Gem::Requirement
@@ -878,7 +850,7 @@ dependencies:
878
850
  - - '='
879
851
  - !ruby/object:Gem::Version
880
852
  version: 2.0.0
881
- description:
853
+ description:
882
854
  email:
883
855
  - manabu.niseki@gmail.com
884
856
  executables:
@@ -934,6 +906,7 @@ files:
934
906
  - lib/mihari/clients/crtsh.rb
935
907
  - lib/mihari/clients/dnstwister.rb
936
908
  - lib/mihari/clients/fofa.rb
909
+ - lib/mihari/clients/google_public_dns.rb
937
910
  - lib/mihari/clients/greynoise.rb
938
911
  - lib/mihari/clients/hunterhow.rb
939
912
  - lib/mihari/clients/misp.rb
@@ -956,6 +929,7 @@ files:
956
929
  - lib/mihari/commands/web.rb
957
930
  - lib/mihari/config.rb
958
931
  - lib/mihari/constants.rb
932
+ - lib/mihari/data_type.rb
959
933
  - lib/mihari/database.rb
960
934
  - lib/mihari/emitters/base.rb
961
935
  - lib/mihari/emitters/database.rb
@@ -1030,7 +1004,6 @@ files:
1030
1004
  - lib/mihari/structs/shodan.rb
1031
1005
  - lib/mihari/structs/urlscan.rb
1032
1006
  - lib/mihari/structs/virustotal_intelligence.rb
1033
- - lib/mihari/type_checker.rb
1034
1007
  - lib/mihari/types.rb
1035
1008
  - lib/mihari/version.rb
1036
1009
  - lib/mihari/web/api.rb
@@ -1043,7 +1016,7 @@ files:
1043
1016
  - lib/mihari/web/endpoints/tags.rb
1044
1017
  - lib/mihari/web/middleware/connection_adapter.rb
1045
1018
  - lib/mihari/web/middleware/error_notification_adapter.rb
1046
- - lib/mihari/web/public/assets/index-216d49d1.js
1019
+ - lib/mihari/web/public/assets/index-1d77cd61.js
1047
1020
  - lib/mihari/web/public/assets/index-4c8509ee.css
1048
1021
  - lib/mihari/web/public/assets/mode-yaml-24faa242.js
1049
1022
  - lib/mihari/web/public/favicon.ico
@@ -1058,7 +1031,7 @@ licenses:
1058
1031
  - MIT
1059
1032
  metadata:
1060
1033
  rubygems_mfa_required: 'true'
1061
- post_install_message:
1034
+ post_install_message:
1062
1035
  rdoc_options: []
1063
1036
  require_paths:
1064
1037
  - lib
@@ -1074,7 +1047,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1074
1047
  version: '0'
1075
1048
  requirements: []
1076
1049
  rubygems_version: 3.4.10
1077
- signing_key:
1050
+ signing_key:
1078
1051
  specification_version: 4
1079
1052
  summary: A query aggregator for OSINT based threat hunting
1080
1053
  test_files: []