mihari 6.0.0 → 6.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +4 -0
- data/lib/mihari/actor.rb +4 -6
- data/lib/mihari/analyzers/base.rb +10 -3
- data/lib/mihari/analyzers/circl.rb +1 -1
- data/lib/mihari/analyzers/dnstwister.rb +1 -1
- data/lib/mihari/analyzers/hunterhow.rb +1 -1
- data/lib/mihari/analyzers/otx.rb +1 -1
- data/lib/mihari/analyzers/passivetotal.rb +1 -1
- data/lib/mihari/analyzers/pulsedive.rb +1 -1
- data/lib/mihari/analyzers/securitytrails.rb +1 -1
- data/lib/mihari/analyzers/virustotal.rb +1 -1
- data/lib/mihari/clients/google_public_dns.rb +31 -0
- data/lib/mihari/config.rb +10 -2
- data/lib/mihari/{type_checker.rb → data_type.rb} +32 -37
- data/lib/mihari/database.rb +8 -4
- data/lib/mihari/emitters/misp.rb +2 -2
- data/lib/mihari/emitters/slack.rb +5 -5
- data/lib/mihari/emitters/the_hive.rb +2 -2
- data/lib/mihari/enrichers/base.rb +2 -0
- data/lib/mihari/enrichers/google_public_dns.rb +4 -21
- data/lib/mihari/enrichers/ipinfo.rb +1 -0
- data/lib/mihari/enrichers/shodan.rb +1 -0
- data/lib/mihari/enrichers/whois.rb +11 -16
- data/lib/mihari/entities/artifact.rb +1 -0
- data/lib/mihari/mixins/falsepositive.rb +2 -2
- data/lib/mihari/models/artifact.rb +14 -6
- data/lib/mihari/models/dns.rb +3 -8
- data/lib/mihari/rule.rb +20 -7
- data/lib/mihari/schemas/options.rb +5 -1
- data/lib/mihari/structs/google_public_dns.rb +4 -8
- data/lib/mihari/version.rb +1 -1
- data/lib/mihari/web/app.rb +2 -2
- data/lib/mihari/web/public/assets/index-1d77cd61.js +1756 -0
- data/lib/mihari/web/public/assets/{index-56fc2187.css → index-4c8509ee.css} +1 -1
- data/lib/mihari/web/public/index.html +2 -2
- data/lib/mihari/web/public/redoc-static.html +5 -5
- data/lib/mihari.rb +10 -10
- data/mihari.gemspec +5 -4
- data/mkdocs.yml +1 -0
- data/requirements.txt +1 -1
- metadata +23 -50
- data/lib/mihari/web/public/assets/index-07cddfcd.js +0 -1750
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.
|
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
|
+
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.
|
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.
|
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
|
@@ -627,19 +599,19 @@ dependencies:
|
|
627
599
|
- !ruby/object:Gem::Version
|
628
600
|
version: 2.5.2
|
629
601
|
- !ruby/object:Gem::Dependency
|
630
|
-
name:
|
602
|
+
name: memo_wise
|
631
603
|
requirement: !ruby/object:Gem::Requirement
|
632
604
|
requirements:
|
633
605
|
- - '='
|
634
606
|
- !ruby/object:Gem::Version
|
635
|
-
version:
|
607
|
+
version: 1.8.0
|
636
608
|
type: :runtime
|
637
609
|
prerelease: false
|
638
610
|
version_requirements: !ruby/object:Gem::Requirement
|
639
611
|
requirements:
|
640
612
|
- - '='
|
641
613
|
- !ruby/object:Gem::Version
|
642
|
-
version:
|
614
|
+
version: 1.8.0
|
643
615
|
- !ruby/object:Gem::Dependency
|
644
616
|
name: normalize_country
|
645
617
|
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.
|
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.
|
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
|
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
|
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,8 +1016,8 @@ 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-
|
1047
|
-
- lib/mihari/web/public/assets/index-
|
1019
|
+
- lib/mihari/web/public/assets/index-1d77cd61.js
|
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
|
1050
1023
|
- lib/mihari/web/public/index.html
|
@@ -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: []
|