miteru 2.3.1 → 2.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docker-compose.yml +0 -1
- data/exe/miteru +1 -1
- data/lefthook.yml +2 -1
- data/lib/miteru/commands/sidekiq.rb +1 -1
- data/lib/miteru/config.rb +41 -2
- data/lib/miteru/feeds/ayashige.rb +1 -1
- data/lib/miteru/feeds/phishing_database.rb +1 -1
- data/lib/miteru/feeds/tweetfeed.rb +1 -1
- data/lib/miteru/feeds/urlscan.rb +1 -1
- data/lib/miteru/feeds/urlscan_pro.rb +1 -1
- data/lib/miteru/sidekiq/application.rb +1 -0
- data/lib/miteru/version.rb +1 -1
- data/miteru.gemspec +2 -2
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd3ba5f3cd08b4af7eb269c458323f65214491a6111a4d5277b0102913629a77
|
4
|
+
data.tar.gz: 47542263b5b2e60e5dfadf149d15bac3446f00b5e8aec15e9c83f60629328546
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '028f612c45b87b4b9ec30cffad2168ec6b3983756e9bdd865835a38ba3c9533ccbe6238240f263f9f1cbf460cad8347e3ed1ec00623ef6cdbb1cfa4ebcf5da47'
|
7
|
+
data.tar.gz: bc1a770f94eda268ce90735a80d6b45fd6e2f3a900300de52c1499debf15d5e6f7e705d8e7bee068a5234d0f7cf744f6167a50c61914438be78fb68bed38a8e9
|
data/docker-compose.yml
CHANGED
data/exe/miteru
CHANGED
data/lefthook.yml
CHANGED
@@ -10,7 +10,7 @@ module Miteru
|
|
10
10
|
def included(thor)
|
11
11
|
thor.class_eval do
|
12
12
|
desc "sidekiq", "Start Sidekiq"
|
13
|
-
method_option :env, type: :string, default: "production", desc: "Environment"
|
13
|
+
method_option :env, type: :string, default: "production", desc: "Environment", aliases: "-e"
|
14
14
|
method_option :concurrency, type: :numeric, default: 5, desc: "Sidekiq concurrency", aliases: "-c"
|
15
15
|
def sidekiq
|
16
16
|
require "sidekiq/cli"
|
data/lib/miteru/config.rb
CHANGED
@@ -14,14 +14,20 @@ module Miteru
|
|
14
14
|
download_to: "/tmp",
|
15
15
|
file_max_size: 1024 * 1024 * 100,
|
16
16
|
file_extensions: [".zip", ".rar", ".7z", ".tar", ".gz"],
|
17
|
-
file_mime_types: [
|
18
|
-
"application/
|
17
|
+
file_mime_types: [
|
18
|
+
"application/zip",
|
19
|
+
"application/vnd.rar",
|
20
|
+
"application/x-7z-compressed",
|
21
|
+
"application/x-tar",
|
22
|
+
"application/gzip"
|
23
|
+
],
|
19
24
|
api_timeout: 60,
|
20
25
|
http_timeout: 60,
|
21
26
|
download_timeout: 60,
|
22
27
|
sentry_dsn: nil,
|
23
28
|
sentry_trace_sample_rate: 0.25,
|
24
29
|
sidekiq_redis_url: nil,
|
30
|
+
sidekiq_job_retry: 0,
|
25
31
|
cache_redis_url: nil,
|
26
32
|
cache_ex: nil,
|
27
33
|
cache_prefix: "miteru:cache",
|
@@ -44,6 +50,39 @@ module Miteru
|
|
44
50
|
# @!attribute [r] sidekiq_redis_url
|
45
51
|
# @return [String, nil]
|
46
52
|
|
53
|
+
# @!attribute [r] sidekiq_job_retry
|
54
|
+
# @return [Integer]
|
55
|
+
|
56
|
+
# @!attribute [r] cache_redis_url
|
57
|
+
# @return [String, nil]
|
58
|
+
|
59
|
+
# @!attribute [r] cache_ex
|
60
|
+
# @return [Integer, nil]
|
61
|
+
|
62
|
+
# @!attribute [r] cache_prefix
|
63
|
+
# @return [String]
|
64
|
+
|
65
|
+
# @!attribute [r] http_timeout
|
66
|
+
# @return [Integer]
|
67
|
+
|
68
|
+
# @!attribute [r] api_timeout
|
69
|
+
# @return [Integer]
|
70
|
+
|
71
|
+
# @!attribute [r] download_timeout
|
72
|
+
# @return [Integer]
|
73
|
+
|
74
|
+
# @!attribute [rw] auto_download
|
75
|
+
# @return [Boolean]
|
76
|
+
|
77
|
+
# @!attribute [rw] directory_traveling
|
78
|
+
# @return [Boolean]
|
79
|
+
|
80
|
+
# @!attribute [rw] download_to
|
81
|
+
# @return [String]
|
82
|
+
|
83
|
+
# @!attribute [rw] threads
|
84
|
+
# @return [Integer]
|
85
|
+
|
47
86
|
# @!attribute [r] cache_redis_url
|
48
87
|
# @return [String, nil]
|
49
88
|
|
data/lib/miteru/feeds/urlscan.rb
CHANGED
data/lib/miteru/version.rb
CHANGED
data/miteru.gemspec
CHANGED
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.add_development_dependency "coveralls_reborn", "~> 0.28"
|
31
31
|
spec.add_development_dependency "fuubar", "~> 2.5.1"
|
32
32
|
spec.add_development_dependency "mysql2", "~> 0.5.6"
|
33
|
-
spec.add_development_dependency "pg", "~> 1.5.
|
33
|
+
spec.add_development_dependency "pg", "~> 1.5.8"
|
34
34
|
spec.add_development_dependency "rake", "~> 13.2.1"
|
35
35
|
spec.add_development_dependency "rspec", "~> 3.13"
|
36
36
|
spec.add_development_dependency "simplecov-lcov", "~> 0.8"
|
@@ -56,7 +56,7 @@ Gem::Specification.new do |spec|
|
|
56
56
|
spec.add_dependency "rack-session", "2.0.0"
|
57
57
|
spec.add_dependency "rackup", "2.1.0"
|
58
58
|
spec.add_dependency "redis", "5.3.0"
|
59
|
-
spec.add_dependency "semantic_logger", "4.16.
|
59
|
+
spec.add_dependency "semantic_logger", "4.16.1"
|
60
60
|
spec.add_dependency "sentry-ruby", "5.19.0"
|
61
61
|
spec.add_dependency "sentry-sidekiq", "5.19.0"
|
62
62
|
spec.add_dependency "sidekiq", "7.3.2"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: miteru
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.2
|
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: 2024-09-
|
11
|
+
date: 2024-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.5.
|
89
|
+
version: 1.5.8
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.5.
|
96
|
+
version: 1.5.8
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rake
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -436,14 +436,14 @@ dependencies:
|
|
436
436
|
requirements:
|
437
437
|
- - '='
|
438
438
|
- !ruby/object:Gem::Version
|
439
|
-
version: 4.16.
|
439
|
+
version: 4.16.1
|
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: 4.16.
|
446
|
+
version: 4.16.1
|
447
447
|
- !ruby/object:Gem::Dependency
|
448
448
|
name: sentry-ruby
|
449
449
|
requirement: !ruby/object:Gem::Requirement
|
@@ -624,7 +624,7 @@ licenses:
|
|
624
624
|
- MIT
|
625
625
|
metadata:
|
626
626
|
rubygems_mfa_required: 'true'
|
627
|
-
post_install_message:
|
627
|
+
post_install_message:
|
628
628
|
rdoc_options: []
|
629
629
|
require_paths:
|
630
630
|
- lib
|
@@ -639,8 +639,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
639
639
|
- !ruby/object:Gem::Version
|
640
640
|
version: '0'
|
641
641
|
requirements: []
|
642
|
-
rubygems_version: 3.5.
|
643
|
-
signing_key:
|
642
|
+
rubygems_version: 3.5.16
|
643
|
+
signing_key:
|
644
644
|
specification_version: 4
|
645
645
|
summary: A phishing kit collector for scavengers
|
646
646
|
test_files: []
|