mihari 7.6.1 → 7.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +25 -5
- data/README.md +1 -0
- data/Rakefile +3 -1
- data/lefthook.yml +4 -4
- data/lib/mihari/clients/crtsh.rb +1 -1
- data/lib/mihari/clients/dnstwister.rb +1 -1
- data/lib/mihari/clients/google_public_dns.rb +1 -1
- data/lib/mihari/clients/mmdb.rb +1 -1
- data/lib/mihari/clients/shodan_internet_db.rb +1 -1
- data/lib/mihari/enrichers/base.rb +1 -1
- data/lib/mihari/version.rb +1 -1
- data/lib/mihari/web/public/assets/index-CuFhw5g8.css +1 -0
- data/lib/mihari/web/public/assets/index-Dgz0wXc1.js +1764 -0
- data/lib/mihari/web/public/index.html +2 -2
- data/lib/mihari/web/public/redoc-static.html +389 -389
- data/mihari.gemspec +42 -40
- data/mkdocs.yml +1 -1
- data/requirements.txt +2 -2
- metadata +110 -82
- data/lib/mihari/web/public/assets/index-CNoViC5p.css +0 -1
- data/lib/mihari/web/public/assets/index-ruBsf_QV.js +0 -1783
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5fff977863ca54dae5b645e3587d8f09f0583df44fca258ac4f1c8f3455a74e
|
4
|
+
data.tar.gz: 3c45cf5405737aaddbd79b42590509f155b3be13c3a0645057cc446666728655
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d189d79161738b06e2ee970b835b953bd968c4c4500b7cf589fcf3c2ac31a49f46a9d2fcf3581818484f9daf0b72a87a1d3cd39084d39e4a9bcfdf4ab0edc1a4
|
7
|
+
data.tar.gz: 463d12e871297b9d5be403139720fc51d09bd51e0c41855d47cbe889de086f2a5a2d2fe25fa592f81ddec1b6e56195b9878372c1fc8955f23357b72d09bbdce0
|
data/.rubocop.yml
CHANGED
@@ -1,5 +1,6 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
AllCops:
|
2
|
+
TargetRubyVersion: 3.2
|
3
|
+
NewCops: enable
|
3
4
|
Metrics/BlockLength:
|
4
5
|
Max: 150
|
5
6
|
Exclude:
|
@@ -12,13 +13,32 @@ Metrics/MethodLength:
|
|
12
13
|
Metrics/AbcSize:
|
13
14
|
Max: 50
|
14
15
|
RSpec/MultipleMemoizedHelpers:
|
15
|
-
Max:
|
16
|
+
Max: 15
|
16
17
|
RSpec/ExampleLength:
|
17
18
|
Max: 20
|
18
|
-
RSpec/
|
19
|
-
|
19
|
+
RSpec/NestedGroups:
|
20
|
+
Max: 5
|
21
|
+
RSpec/RepeatedExampleGroupDescription:
|
22
|
+
Enabled: false
|
23
|
+
RSpec/ReceiveMessages:
|
24
|
+
Enabled: false
|
25
|
+
RSpec/MultipleExpectations:
|
26
|
+
Enabled: false
|
27
|
+
RSpec/SpecFilePathFormat:
|
28
|
+
Enabled: false
|
29
|
+
FactoryBot/SyntaxMethods:
|
30
|
+
Enabled: false
|
20
31
|
require:
|
32
|
+
- rubocop-capybara
|
21
33
|
- rubocop-factory_bot
|
34
|
+
- rubocop-performance
|
22
35
|
- rubocop-rake
|
23
36
|
- rubocop-rspec
|
24
37
|
- rubocop-yard
|
38
|
+
- standard
|
39
|
+
- standard-custom
|
40
|
+
- standard-performance
|
41
|
+
inherit_gem:
|
42
|
+
standard: config/base.yml
|
43
|
+
standard-custom: config/base.yml
|
44
|
+
standard-performance: config/base.yml
|
data/README.md
CHANGED
@@ -27,6 +27,7 @@ Mihari supports the following services by default.
|
|
27
27
|
- [SecurityTrails](https://securitytrails.com/)
|
28
28
|
- [Shodan](https://shodan.io)
|
29
29
|
- [urlscan.io](https://urlscan.io)
|
30
|
+
- [Validin](https://validin.com)
|
30
31
|
- [VirusTotal](http://virustotal.com) & [VirusTotal Intelligence](https://www.virustotal.com/gui/intelligence-overview)
|
31
32
|
- [ZoomEye](https://zoomeye.org)
|
32
33
|
|
data/Rakefile
CHANGED
@@ -3,8 +3,9 @@
|
|
3
3
|
require "time"
|
4
4
|
|
5
5
|
require "rspec/core/rake_task"
|
6
|
-
require "
|
6
|
+
require "rubocop/rake_task"
|
7
7
|
|
8
|
+
RuboCop::RakeTask.new
|
8
9
|
RSpec::Core::RakeTask.new(:spec)
|
9
10
|
|
10
11
|
task default: :spec
|
@@ -67,6 +68,7 @@ namespace :build do
|
|
67
68
|
end
|
68
69
|
end
|
69
70
|
|
71
|
+
desc "Build including Swagger doc and frontend assets"
|
70
72
|
task :build do
|
71
73
|
Rake::Task["build:swagger"].invoke
|
72
74
|
Rake::Task["build:frontend"].invoke
|
data/lefthook.yml
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
pre-commit:
|
2
2
|
commands:
|
3
|
-
|
3
|
+
rubocop:
|
4
4
|
glob: "*.rb"
|
5
|
-
run: bundle exec
|
5
|
+
run: bundle exec rubocop --fix {staged_files}
|
6
6
|
stage_fixed: true
|
7
7
|
eslint:
|
8
8
|
root: "frontend/"
|
@@ -19,5 +19,5 @@ pre-commit:
|
|
19
19
|
glob: "*.{js,ts,vue}"
|
20
20
|
run: npm run type-check
|
21
21
|
actionlint:
|
22
|
-
glob: ".github/workflows/*.yaml"
|
23
|
-
run: actionlint
|
22
|
+
glob: ".github/workflows/*.{yaml,yml}"
|
23
|
+
run: actionlint {staged_files}
|
data/lib/mihari/clients/crtsh.rb
CHANGED
data/lib/mihari/clients/mmdb.rb
CHANGED
data/lib/mihari/version.rb
CHANGED