mihari 5.2.3 → 5.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/build_frontend.sh +1 -9
- data/frontend/.browserslistrc +3 -0
- data/frontend/.eslintrc.js +33 -0
- data/frontend/.gitignore +25 -0
- data/frontend/README.md +3 -0
- data/frontend/babel.config.js +3 -0
- data/frontend/index.html +21 -0
- data/frontend/jest.config.js +9 -0
- data/frontend/package-lock.json +13216 -0
- data/frontend/package.json +54 -0
- data/frontend/public/favicon.ico +0 -0
- data/frontend/scripts/swagger_doc_to_yaml.rb +23 -0
- data/frontend/src/App.vue +27 -0
- data/frontend/src/api-helper.ts +113 -0
- data/frontend/src/api.ts +105 -0
- data/frontend/src/components/ErrorMessage.vue +32 -0
- data/frontend/src/components/Loading.vue +15 -0
- data/frontend/src/components/Navbar.vue +59 -0
- data/frontend/src/components/Pagination.vue +126 -0
- data/frontend/src/components/alert/Alert.vue +92 -0
- data/frontend/src/components/alert/Alerts.vue +66 -0
- data/frontend/src/components/alert/AlertsWithPagination.vue +91 -0
- data/frontend/src/components/alert/AlertsWrapper.vue +141 -0
- data/frontend/src/components/alert/Form.vue +185 -0
- data/frontend/src/components/artifact/AS.vue +29 -0
- data/frontend/src/components/artifact/Artifact.vue +321 -0
- data/frontend/src/components/artifact/ArtifactTag.vue +70 -0
- data/frontend/src/components/artifact/ArtifactTags.vue +29 -0
- data/frontend/src/components/artifact/ArtifactWrapper.vue +62 -0
- data/frontend/src/components/artifact/CPEs.vue +23 -0
- data/frontend/src/components/artifact/DnsRecords.vue +38 -0
- data/frontend/src/components/artifact/Ports.vue +23 -0
- data/frontend/src/components/artifact/ReverseDnsNames.vue +31 -0
- data/frontend/src/components/artifact/Tags.vue +29 -0
- data/frontend/src/components/artifact/WhoisRecord.vue +49 -0
- data/frontend/src/components/config/Configs.vue +68 -0
- data/frontend/src/components/config/ConfigsWrapper.vue +40 -0
- data/frontend/src/components/link/Link.vue +32 -0
- data/frontend/src/components/link/Links.vue +47 -0
- data/frontend/src/components/rule/EditRule.vue +74 -0
- data/frontend/src/components/rule/EditRuleWrapper.vue +56 -0
- data/frontend/src/components/rule/Form.vue +160 -0
- data/frontend/src/components/rule/InputForm.vue +80 -0
- data/frontend/src/components/rule/NewRule.vue +60 -0
- data/frontend/src/components/rule/Rule.vue +108 -0
- data/frontend/src/components/rule/RuleWrapper.vue +62 -0
- data/frontend/src/components/rule/Rules.vue +88 -0
- data/frontend/src/components/rule/RulesWrapper.vue +130 -0
- data/frontend/src/components/rule/YAML.vue +47 -0
- data/frontend/src/components/tag/Tag.vue +73 -0
- data/frontend/src/components/tag/Tags.vue +37 -0
- data/frontend/src/countries.ts +350 -0
- data/frontend/src/index.ts +23 -0
- data/frontend/src/links/anyrun.ts +19 -0
- data/frontend/src/links/base.ts +14 -0
- data/frontend/src/links/censys.ts +20 -0
- data/frontend/src/links/crtsh.ts +20 -0
- data/frontend/src/links/dnslytics.ts +38 -0
- data/frontend/src/links/greynoise.ts +20 -0
- data/frontend/src/links/index.ts +40 -0
- data/frontend/src/links/intezer.ts +20 -0
- data/frontend/src/links/otx.ts +33 -0
- data/frontend/src/links/securitytrails.ts +38 -0
- data/frontend/src/links/shodan.ts +20 -0
- data/frontend/src/links/urlscan.ts +50 -0
- data/frontend/src/links/virustotal.ts +72 -0
- data/frontend/src/main.ts +11 -0
- data/frontend/src/router/index.ts +57 -0
- data/frontend/src/rule.ts +14 -0
- data/frontend/src/shims-vue.d.ts +6 -0
- data/frontend/src/swagger.yaml +737 -0
- data/frontend/src/types.ts +188 -0
- data/frontend/src/utils.ts +60 -0
- data/frontend/src/views/Alerts.vue +20 -0
- data/frontend/src/views/Artifact.vue +44 -0
- data/frontend/src/views/Configs.vue +20 -0
- data/frontend/src/views/EditRule.vue +44 -0
- data/frontend/src/views/NewRule.vue +26 -0
- data/frontend/src/views/Rule.vue +44 -0
- data/frontend/src/views/Rules.vue +20 -0
- data/frontend/tests/unit/utils.spec.ts +7 -0
- data/frontend/tsconfig.json +40 -0
- data/frontend/vite.config.js +24 -0
- data/lefthook.yml +10 -0
- data/lib/mihari/analyzers/base.rb +22 -5
- data/lib/mihari/analyzers/rule.rb +8 -29
- data/lib/mihari/commands/search.rb +16 -7
- data/lib/mihari/entities/rule.rb +1 -1
- data/lib/mihari/entities/tag.rb +1 -1
- data/lib/mihari/schemas/analyzer.rb +2 -7
- data/lib/mihari/schemas/rule.rb +1 -1
- data/lib/mihari/structs/config.rb +39 -16
- data/lib/mihari/structs/rule.rb +1 -1
- data/lib/mihari/version.rb +1 -1
- data/lib/mihari/web/public/assets/index-ac4e5ffa.js +50 -0
- data/lib/mihari/web/public/index.html +1 -1
- data/mihari.gemspec +5 -5
- metadata +97 -16
- data/.gitmodules +0 -0
- data/.overcommit.yml +0 -12
- data/lib/mihari/web/public/assets/index-cbe1734c.js +0 -50
@@ -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-ac4e5ffa.js"></script>
|
10
10
|
<link rel="stylesheet" href="/assets/index-eed1bcd8.css">
|
11
11
|
</head>
|
12
12
|
<body>
|
data/mihari.gemspec
CHANGED
@@ -44,13 +44,13 @@ Gem::Specification.new do |spec|
|
|
44
44
|
spec.add_development_dependency "rerun", "~> 0.14"
|
45
45
|
spec.add_development_dependency "rspec", "~> 3.12"
|
46
46
|
spec.add_development_dependency "simplecov-lcov", "~> 0.8.0"
|
47
|
-
spec.add_development_dependency "standard", "~> 1.
|
47
|
+
spec.add_development_dependency "standard", "~> 1.29"
|
48
48
|
spec.add_development_dependency "timecop", "~> 0.9"
|
49
49
|
spec.add_development_dependency "vcr", "~> 6.1"
|
50
50
|
spec.add_development_dependency "webmock", "~> 3.18"
|
51
51
|
|
52
52
|
unless ci_env?
|
53
|
-
spec.add_development_dependency "
|
53
|
+
spec.add_development_dependency "lefthook", "~> 1.4"
|
54
54
|
spec.add_development_dependency "ruby-lsp", "~> 0.5"
|
55
55
|
spec.add_development_dependency "solargraph", "~> 0.49"
|
56
56
|
spec.add_development_dependency "steep", "~> 1.4"
|
@@ -64,7 +64,7 @@ Gem::Specification.new do |spec|
|
|
64
64
|
spec.add_dependency "dry-container", "0.11.0"
|
65
65
|
spec.add_dependency "dry-files", "1.0.1"
|
66
66
|
spec.add_dependency "dry-initializer", "3.1.1"
|
67
|
-
spec.add_dependency "dry-schema", "1.13.
|
67
|
+
spec.add_dependency "dry-schema", "1.13.2"
|
68
68
|
spec.add_dependency "dry-struct", "1.6.0"
|
69
69
|
spec.add_dependency "dry-validation", "1.10.0"
|
70
70
|
spec.add_dependency "email_address", "0.2.4"
|
@@ -81,8 +81,8 @@ Gem::Specification.new do |spec|
|
|
81
81
|
spec.add_dependency "parallel", "1.23.0"
|
82
82
|
spec.add_dependency "plissken", "2.0.1"
|
83
83
|
spec.add_dependency "public_suffix", "5.0.1"
|
84
|
-
spec.add_dependency "puma", "6.
|
85
|
-
spec.add_dependency "rack", "3.0.
|
84
|
+
spec.add_dependency "puma", "6.3.0"
|
85
|
+
spec.add_dependency "rack", "3.0.8"
|
86
86
|
spec.add_dependency "rack-cors", "2.0.1"
|
87
87
|
spec.add_dependency "rackup", "2.1.0"
|
88
88
|
spec.add_dependency "semantic_logger", "4.13.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: 5.2.
|
4
|
+
version: 5.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manabu Niseki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -184,14 +184,14 @@ dependencies:
|
|
184
184
|
requirements:
|
185
185
|
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: '1.
|
187
|
+
version: '1.29'
|
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.
|
194
|
+
version: '1.29'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: timecop
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -235,19 +235,19 @@ dependencies:
|
|
235
235
|
- !ruby/object:Gem::Version
|
236
236
|
version: '3.18'
|
237
237
|
- !ruby/object:Gem::Dependency
|
238
|
-
name:
|
238
|
+
name: lefthook
|
239
239
|
requirement: !ruby/object:Gem::Requirement
|
240
240
|
requirements:
|
241
241
|
- - "~>"
|
242
242
|
- !ruby/object:Gem::Version
|
243
|
-
version: '
|
243
|
+
version: '1.4'
|
244
244
|
type: :development
|
245
245
|
prerelease: false
|
246
246
|
version_requirements: !ruby/object:Gem::Requirement
|
247
247
|
requirements:
|
248
248
|
- - "~>"
|
249
249
|
- !ruby/object:Gem::Version
|
250
|
-
version: '
|
250
|
+
version: '1.4'
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
252
|
name: ruby-lsp
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
@@ -408,14 +408,14 @@ dependencies:
|
|
408
408
|
requirements:
|
409
409
|
- - '='
|
410
410
|
- !ruby/object:Gem::Version
|
411
|
-
version: 1.13.
|
411
|
+
version: 1.13.2
|
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: 1.13.
|
418
|
+
version: 1.13.2
|
419
419
|
- !ruby/object:Gem::Dependency
|
420
420
|
name: dry-struct
|
421
421
|
requirement: !ruby/object:Gem::Requirement
|
@@ -646,28 +646,28 @@ dependencies:
|
|
646
646
|
requirements:
|
647
647
|
- - '='
|
648
648
|
- !ruby/object:Gem::Version
|
649
|
-
version: 6.
|
649
|
+
version: 6.3.0
|
650
650
|
type: :runtime
|
651
651
|
prerelease: false
|
652
652
|
version_requirements: !ruby/object:Gem::Requirement
|
653
653
|
requirements:
|
654
654
|
- - '='
|
655
655
|
- !ruby/object:Gem::Version
|
656
|
-
version: 6.
|
656
|
+
version: 6.3.0
|
657
657
|
- !ruby/object:Gem::Dependency
|
658
658
|
name: rack
|
659
659
|
requirement: !ruby/object:Gem::Requirement
|
660
660
|
requirements:
|
661
661
|
- - '='
|
662
662
|
- !ruby/object:Gem::Version
|
663
|
-
version: 3.0.
|
663
|
+
version: 3.0.8
|
664
664
|
type: :runtime
|
665
665
|
prerelease: false
|
666
666
|
version_requirements: !ruby/object:Gem::Requirement
|
667
667
|
requirements:
|
668
668
|
- - '='
|
669
669
|
- !ruby/object:Gem::Version
|
670
|
-
version: 3.0.
|
670
|
+
version: 3.0.8
|
671
671
|
- !ruby/object:Gem::Dependency
|
672
672
|
name: rack-cors
|
673
673
|
requirement: !ruby/object:Gem::Requirement
|
@@ -817,8 +817,6 @@ extensions: []
|
|
817
817
|
extra_rdoc_files: []
|
818
818
|
files:
|
819
819
|
- ".gitignore"
|
820
|
-
- ".gitmodules"
|
821
|
-
- ".overcommit.yml"
|
822
820
|
- ".rspec"
|
823
821
|
- ".rubocop.yml"
|
824
822
|
- ".standard.yml"
|
@@ -832,6 +830,89 @@ files:
|
|
832
830
|
- build_frontend.sh
|
833
831
|
- config.ru
|
834
832
|
- exe/mihari
|
833
|
+
- frontend/.browserslistrc
|
834
|
+
- frontend/.eslintrc.js
|
835
|
+
- frontend/.gitignore
|
836
|
+
- frontend/README.md
|
837
|
+
- frontend/babel.config.js
|
838
|
+
- frontend/index.html
|
839
|
+
- frontend/jest.config.js
|
840
|
+
- frontend/package-lock.json
|
841
|
+
- frontend/package.json
|
842
|
+
- frontend/public/favicon.ico
|
843
|
+
- frontend/scripts/swagger_doc_to_yaml.rb
|
844
|
+
- frontend/src/App.vue
|
845
|
+
- frontend/src/api-helper.ts
|
846
|
+
- frontend/src/api.ts
|
847
|
+
- frontend/src/components/ErrorMessage.vue
|
848
|
+
- frontend/src/components/Loading.vue
|
849
|
+
- frontend/src/components/Navbar.vue
|
850
|
+
- frontend/src/components/Pagination.vue
|
851
|
+
- frontend/src/components/alert/Alert.vue
|
852
|
+
- frontend/src/components/alert/Alerts.vue
|
853
|
+
- frontend/src/components/alert/AlertsWithPagination.vue
|
854
|
+
- frontend/src/components/alert/AlertsWrapper.vue
|
855
|
+
- frontend/src/components/alert/Form.vue
|
856
|
+
- frontend/src/components/artifact/AS.vue
|
857
|
+
- frontend/src/components/artifact/Artifact.vue
|
858
|
+
- frontend/src/components/artifact/ArtifactTag.vue
|
859
|
+
- frontend/src/components/artifact/ArtifactTags.vue
|
860
|
+
- frontend/src/components/artifact/ArtifactWrapper.vue
|
861
|
+
- frontend/src/components/artifact/CPEs.vue
|
862
|
+
- frontend/src/components/artifact/DnsRecords.vue
|
863
|
+
- frontend/src/components/artifact/Ports.vue
|
864
|
+
- frontend/src/components/artifact/ReverseDnsNames.vue
|
865
|
+
- frontend/src/components/artifact/Tags.vue
|
866
|
+
- frontend/src/components/artifact/WhoisRecord.vue
|
867
|
+
- frontend/src/components/config/Configs.vue
|
868
|
+
- frontend/src/components/config/ConfigsWrapper.vue
|
869
|
+
- frontend/src/components/link/Link.vue
|
870
|
+
- frontend/src/components/link/Links.vue
|
871
|
+
- frontend/src/components/rule/EditRule.vue
|
872
|
+
- frontend/src/components/rule/EditRuleWrapper.vue
|
873
|
+
- frontend/src/components/rule/Form.vue
|
874
|
+
- frontend/src/components/rule/InputForm.vue
|
875
|
+
- frontend/src/components/rule/NewRule.vue
|
876
|
+
- frontend/src/components/rule/Rule.vue
|
877
|
+
- frontend/src/components/rule/RuleWrapper.vue
|
878
|
+
- frontend/src/components/rule/Rules.vue
|
879
|
+
- frontend/src/components/rule/RulesWrapper.vue
|
880
|
+
- frontend/src/components/rule/YAML.vue
|
881
|
+
- frontend/src/components/tag/Tag.vue
|
882
|
+
- frontend/src/components/tag/Tags.vue
|
883
|
+
- frontend/src/countries.ts
|
884
|
+
- frontend/src/index.ts
|
885
|
+
- frontend/src/links/anyrun.ts
|
886
|
+
- frontend/src/links/base.ts
|
887
|
+
- frontend/src/links/censys.ts
|
888
|
+
- frontend/src/links/crtsh.ts
|
889
|
+
- frontend/src/links/dnslytics.ts
|
890
|
+
- frontend/src/links/greynoise.ts
|
891
|
+
- frontend/src/links/index.ts
|
892
|
+
- frontend/src/links/intezer.ts
|
893
|
+
- frontend/src/links/otx.ts
|
894
|
+
- frontend/src/links/securitytrails.ts
|
895
|
+
- frontend/src/links/shodan.ts
|
896
|
+
- frontend/src/links/urlscan.ts
|
897
|
+
- frontend/src/links/virustotal.ts
|
898
|
+
- frontend/src/main.ts
|
899
|
+
- frontend/src/router/index.ts
|
900
|
+
- frontend/src/rule.ts
|
901
|
+
- frontend/src/shims-vue.d.ts
|
902
|
+
- frontend/src/swagger.yaml
|
903
|
+
- frontend/src/types.ts
|
904
|
+
- frontend/src/utils.ts
|
905
|
+
- frontend/src/views/Alerts.vue
|
906
|
+
- frontend/src/views/Artifact.vue
|
907
|
+
- frontend/src/views/Configs.vue
|
908
|
+
- frontend/src/views/EditRule.vue
|
909
|
+
- frontend/src/views/NewRule.vue
|
910
|
+
- frontend/src/views/Rule.vue
|
911
|
+
- frontend/src/views/Rules.vue
|
912
|
+
- frontend/tests/unit/utils.spec.ts
|
913
|
+
- frontend/tsconfig.json
|
914
|
+
- frontend/vite.config.js
|
915
|
+
- lefthook.yml
|
835
916
|
- lib/mihari.rb
|
836
917
|
- lib/mihari/analyzers/base.rb
|
837
918
|
- lib/mihari/analyzers/binaryedge.rb
|
@@ -966,7 +1047,7 @@ files:
|
|
966
1047
|
- lib/mihari/web/public/assets/fa-solid-900-7152a693.woff2
|
967
1048
|
- lib/mihari/web/public/assets/fa-v4compatibility-0515a423.ttf
|
968
1049
|
- lib/mihari/web/public/assets/fa-v4compatibility-694a17c3.woff2
|
969
|
-
- lib/mihari/web/public/assets/index-
|
1050
|
+
- lib/mihari/web/public/assets/index-ac4e5ffa.js
|
970
1051
|
- lib/mihari/web/public/assets/index-eed1bcd8.css
|
971
1052
|
- lib/mihari/web/public/favicon.ico
|
972
1053
|
- lib/mihari/web/public/index.html
|
data/.gitmodules
DELETED
File without changes
|