mihari 3.6.0 → 3.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitmodules +3 -0
- data/README.md +2 -0
- data/Steepfile +32 -0
- data/lib/mihari/analyzers/base.rb +5 -5
- data/lib/mihari/analyzers/binaryedge.rb +13 -0
- data/lib/mihari/analyzers/censys.rb +5 -0
- data/lib/mihari/analyzers/circl.rb +15 -0
- data/lib/mihari/analyzers/crtsh.rb +5 -0
- data/lib/mihari/analyzers/dnpedia.rb +5 -0
- data/lib/mihari/analyzers/dnstwister.rb +17 -0
- data/lib/mihari/analyzers/onyphe.rb +20 -4
- data/lib/mihari/analyzers/otx.rb +20 -0
- data/lib/mihari/analyzers/passivetotal.rb +25 -0
- data/lib/mihari/analyzers/pulsedive.rb +10 -0
- data/lib/mihari/analyzers/rule.rb +18 -0
- data/lib/mihari/analyzers/securitytrails.rb +25 -0
- data/lib/mihari/analyzers/shodan.rb +13 -0
- data/lib/mihari/analyzers/spyse.rb +20 -0
- data/lib/mihari/analyzers/urlscan.rb +10 -0
- data/lib/mihari/analyzers/virustotal.rb +20 -0
- data/lib/mihari/analyzers/zoomeye.rb +38 -0
- data/lib/mihari/emitters/base.rb +1 -1
- data/lib/mihari/emitters/misp.rb +38 -5
- data/lib/mihari/emitters/slack.rb +20 -2
- data/lib/mihari/emitters/the_hive.rb +16 -3
- data/lib/mihari/emitters/webhook.rb +18 -3
- data/lib/mihari/mixins/disallowed_data_value.rb +1 -1
- data/lib/mihari/structs/onyphe.rb +2 -2
- data/lib/mihari/type_checker.rb +9 -9
- data/lib/mihari/version.rb +1 -1
- data/mihari.gemspec +1 -0
- data/sig/lib/mihari/analyzers/base.rbs +99 -0
- data/sig/lib/mihari/analyzers/basic.rbs +17 -0
- data/sig/lib/mihari/analyzers/binaryedge.rbs +25 -0
- data/sig/lib/mihari/analyzers/censys.rbs +38 -0
- data/sig/lib/mihari/analyzers/circl.rbs +29 -0
- data/sig/lib/mihari/analyzers/crtsh.rbs +19 -0
- data/sig/lib/mihari/analyzers/dnpedia.rbs +18 -0
- data/sig/lib/mihari/analyzers/dnstwister.rbs +27 -0
- data/sig/lib/mihari/analyzers/onyphe.rbs +33 -0
- data/sig/lib/mihari/analyzers/otx.rbs +33 -0
- data/sig/lib/mihari/analyzers/passivetotal.rbs +33 -0
- data/sig/lib/mihari/analyzers/pulsedive.rbs +27 -0
- data/sig/lib/mihari/analyzers/rule.rbs +68 -0
- data/sig/lib/mihari/analyzers/securitytrails.rbs +33 -0
- data/sig/lib/mihari/analyzers/shodan.rbs +33 -0
- data/sig/lib/mihari/analyzers/spyse.rbs +29 -0
- data/sig/lib/mihari/analyzers/urlscan.rbs +28 -0
- data/sig/lib/mihari/analyzers/virustotal.rbs +31 -0
- data/sig/lib/mihari/analyzers/zoomeye.rbs +33 -0
- data/sig/lib/mihari/cli/analyzer.rbs +39 -0
- data/sig/lib/mihari/cli/base.rbs +11 -0
- data/sig/lib/mihari/cli/init.rbs +7 -0
- data/sig/lib/mihari/cli/main.rbs +9 -0
- data/sig/lib/mihari/cli/mixins/utils.rbs +50 -0
- data/sig/lib/mihari/cli/validator.rbs +7 -0
- data/sig/lib/mihari/commands/binaryedge.rbs +7 -0
- data/sig/lib/mihari/commands/censys.rbs +7 -0
- data/sig/lib/mihari/commands/circl.rbs +7 -0
- data/sig/lib/mihari/commands/crtsh.rbs +7 -0
- data/sig/lib/mihari/commands/dnpedia.rbs +7 -0
- data/sig/lib/mihari/commands/dnstwister.rbs +7 -0
- data/sig/lib/mihari/commands/init.rbs +11 -0
- data/sig/lib/mihari/commands/json.rbs +7 -0
- data/sig/lib/mihari/commands/onyphe.rbs +7 -0
- data/sig/lib/mihari/commands/otx.rbs +7 -0
- data/sig/lib/mihari/commands/passivetotal.rbs +7 -0
- data/sig/lib/mihari/commands/pulsedive.rbs +7 -0
- data/sig/lib/mihari/commands/search.rbs +35 -0
- data/sig/lib/mihari/commands/securitytrails.rbs +7 -0
- data/sig/lib/mihari/commands/shodan.rbs +7 -0
- data/sig/lib/mihari/commands/spyse.rbs +7 -0
- data/sig/lib/mihari/commands/urlscan.rbs +7 -0
- data/sig/lib/mihari/commands/validator.rbs +11 -0
- data/sig/lib/mihari/commands/virustotal.rbs +7 -0
- data/sig/lib/mihari/commands/web.rbs +7 -0
- data/sig/lib/mihari/commands/zoomeye.rbs +7 -0
- data/sig/lib/mihari/constants.rbs +3 -0
- data/sig/lib/mihari/database.rbs +25 -0
- data/sig/lib/mihari/emitters/base.rbs +18 -0
- data/sig/lib/mihari/emitters/database.rbs +9 -0
- data/sig/lib/mihari/emitters/misp.rbs +28 -0
- data/sig/lib/mihari/emitters/slack.rbs +58 -0
- data/sig/lib/mihari/emitters/stdout.rbs +9 -0
- data/sig/lib/mihari/emitters/the_hive.rbs +24 -0
- data/sig/lib/mihari/emitters/webhook.rbs +20 -0
- data/sig/lib/mihari/errors.rbs +10 -0
- data/sig/lib/mihari/mixins/configurable.rbs +26 -0
- data/sig/lib/mihari/mixins/configuration.rbs +45 -0
- data/sig/lib/mihari/mixins/disallowed_data_value.rbs +25 -0
- data/sig/lib/mihari/mixins/hash.rbs +14 -0
- data/sig/lib/mihari/mixins/refang.rbs +14 -0
- data/sig/lib/mihari/mixins/retriable.rbs +15 -0
- data/sig/lib/mihari/mixins/rule.rbs +41 -0
- data/sig/lib/mihari/models/alert.rbs +46 -0
- data/sig/lib/mihari/models/artifact.rbs +54 -0
- data/sig/lib/mihari/models/autonomous_system.rbs +5 -0
- data/sig/lib/mihari/models/dns.rbs +19 -0
- data/sig/lib/mihari/models/geolocation.rbs +6 -0
- data/sig/lib/mihari/models/reverse_dns.rbs +14 -0
- data/sig/lib/mihari/models/tag.rbs +5 -0
- data/sig/lib/mihari/models/tagging.rbs +4 -0
- data/sig/lib/mihari/models/whois.rbs +66 -0
- data/sig/lib/mihari/notifiers/base.rbs +18 -0
- data/sig/lib/mihari/notifiers/exception_notifier.rbs +75 -0
- data/sig/lib/mihari/notifiers/slack.rbs +50 -0
- data/sig/lib/mihari/status.rbs +25 -0
- data/sig/lib/mihari/structs/censys.rbs +50 -0
- data/sig/lib/mihari/structs/onyphe.rbs +25 -0
- data/sig/lib/mihari/structs/shodan.rbs +28 -0
- data/sig/lib/mihari/type_checker.rbs +48 -0
- data/sig/lib/mihari/types.rbs +17 -0
- data/sig/lib/mihari/version.rbs +3 -0
- data/sig/lib/mihari/web/app.rbs +5 -0
- data/sig/lib/mihari.rbs +57 -0
- metadata +102 -2
@@ -0,0 +1,75 @@
|
|
1
|
+
module Mihari
|
2
|
+
module Notifiers
|
3
|
+
class ExceptionNotifier
|
4
|
+
def initialize: () -> void
|
5
|
+
|
6
|
+
def valid?: () -> bool
|
7
|
+
|
8
|
+
def notify: (Exception exception) -> void
|
9
|
+
|
10
|
+
#
|
11
|
+
# Send notification to Slack
|
12
|
+
#
|
13
|
+
# @param [String] text
|
14
|
+
# @param [Array<Hash>] attachments
|
15
|
+
#
|
16
|
+
# @return [nil]
|
17
|
+
#
|
18
|
+
def notify_to_slack: (text: String text, attachments: Array[Hash[(String | Symbol), untyped]] attachments) -> void
|
19
|
+
|
20
|
+
#
|
21
|
+
# Send notification to STDOUT
|
22
|
+
#
|
23
|
+
# @param [Exception] exception
|
24
|
+
#
|
25
|
+
# @return [nil]
|
26
|
+
#
|
27
|
+
def notify_to_stdout: (Exception exception) -> void
|
28
|
+
|
29
|
+
#
|
30
|
+
# Convert exception to attachments (for Slack)
|
31
|
+
#
|
32
|
+
# @param [Exception] exception
|
33
|
+
# @param [String] clean_message
|
34
|
+
#
|
35
|
+
# @return [Array<Hash>]
|
36
|
+
#
|
37
|
+
def to_attachments: (Exception exception, String clean_message) -> ::Array[{ color: untyped, text: untyped, fields: untyped, :mrkdwn_in => ::Array["text" | "fields"] }]
|
38
|
+
|
39
|
+
#
|
40
|
+
# Convert exception class to text
|
41
|
+
#
|
42
|
+
# @param [Class<Exception>] exception_class
|
43
|
+
#
|
44
|
+
# @return [String]
|
45
|
+
#
|
46
|
+
def to_text: (singleton(Exception) exception_class) -> ::String
|
47
|
+
|
48
|
+
#
|
49
|
+
# Convert clean_message and backtrace into fields (for Slack)
|
50
|
+
#
|
51
|
+
# @param [String] clean_message
|
52
|
+
# @param [Array] backtrace
|
53
|
+
#
|
54
|
+
# @return [Array<Hash>]
|
55
|
+
#
|
56
|
+
def to_fields: (String clean_message, untyped backtrace) -> Array[Hash[(String | Symbol), untyped]]
|
57
|
+
|
58
|
+
#
|
59
|
+
# Hostname of runnning instance
|
60
|
+
#
|
61
|
+
# @return [String]
|
62
|
+
#
|
63
|
+
def hostname: () -> String
|
64
|
+
|
65
|
+
#
|
66
|
+
# Format backtrace in string
|
67
|
+
#
|
68
|
+
# @param [Array] backtrace
|
69
|
+
#
|
70
|
+
# @return [String]
|
71
|
+
#
|
72
|
+
def format_backtrace: (untyped backtrace) -> (nil | ::String)
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
@@ -0,0 +1,50 @@
|
|
1
|
+
module Mihari
|
2
|
+
module Notifiers
|
3
|
+
class Slack < Base
|
4
|
+
SLACK_WEBHOOK_URL_KEY: ::String
|
5
|
+
|
6
|
+
SLACK_CHANNEL_KEY: ::String
|
7
|
+
|
8
|
+
DEFAULT_USERNAME: ::String
|
9
|
+
|
10
|
+
#
|
11
|
+
# Slack channel to post
|
12
|
+
#
|
13
|
+
# @return [String]
|
14
|
+
#
|
15
|
+
def slack_channel: () -> String
|
16
|
+
|
17
|
+
#
|
18
|
+
# Slack webhook URL
|
19
|
+
#
|
20
|
+
# @return [String]
|
21
|
+
#
|
22
|
+
def slack_webhook_url: () -> String
|
23
|
+
|
24
|
+
#
|
25
|
+
# Check Slack webhook URL is set
|
26
|
+
#
|
27
|
+
# @return [Boolean]
|
28
|
+
#
|
29
|
+
def slack_webhook_url?: () -> bool
|
30
|
+
|
31
|
+
#
|
32
|
+
# Check Slack webhook URL is set. Alias of #slack_webhook_url?.
|
33
|
+
#
|
34
|
+
# @return [Boolean]
|
35
|
+
#
|
36
|
+
def valid?: () -> bool
|
37
|
+
|
38
|
+
#
|
39
|
+
# Send notification to Slack
|
40
|
+
#
|
41
|
+
# @param [String] text
|
42
|
+
# @param [Array<Hash>] attachments
|
43
|
+
# @param [Boolean] mrkdwn
|
44
|
+
#
|
45
|
+
# @return [nil]
|
46
|
+
#
|
47
|
+
def notify: (text: String text, ?attachments: Array[Hash[(String | Symbol), untyped]] attachments, ?mrkdwn: bool mrkdwn) -> untyped
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module Mihari
|
2
|
+
class Status
|
3
|
+
def check: () -> Array[Hash[(String | Symbol), untyped]]
|
4
|
+
|
5
|
+
def self.check: () -> Array[Hash[(String | Symbol), untyped]]
|
6
|
+
|
7
|
+
private
|
8
|
+
|
9
|
+
#
|
10
|
+
# Statuses of analyzers and emitters
|
11
|
+
#
|
12
|
+
# @return [Array<Hash>]
|
13
|
+
#
|
14
|
+
def statuses: () -> Array[Hash[(String | Symbol), untyped]]
|
15
|
+
|
16
|
+
#
|
17
|
+
# Build a status of a class
|
18
|
+
#
|
19
|
+
# @param [Class<Mihari::Analyzers::Base>, Class<Mihari::Emitters::Base>] klass
|
20
|
+
#
|
21
|
+
# @return [Hash, nil]
|
22
|
+
#
|
23
|
+
def build_status: (singleton(Mihari::Analyzers::Base) | singleton(Mihari::Emitters::Base)) -> Hash[(String|Symbol), untyped]?
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,50 @@
|
|
1
|
+
module Mihari
|
2
|
+
module Structs
|
3
|
+
module Censys
|
4
|
+
class AutonomousSystem
|
5
|
+
attr_reader asn: Integer
|
6
|
+
|
7
|
+
def self.from_dynamic!: (Hash[(String | Symbol), untyped] d) -> Mihari::Structs::Censys::AutonomousSystem
|
8
|
+
end
|
9
|
+
|
10
|
+
class Location
|
11
|
+
attr_reader country: String
|
12
|
+
attr_reader country_code: String
|
13
|
+
|
14
|
+
def self.from_dynamic!: (Hash[(String | Symbol), untyped] d) -> Mihari::Structs::Censys::Location
|
15
|
+
end
|
16
|
+
|
17
|
+
class Hit
|
18
|
+
attr_reader ip: String
|
19
|
+
attr_reader location: Mihari::Structs::Censys::Location
|
20
|
+
attr_reader autonomous_system: Mihari::Structs::Censys::AutonomousSystem
|
21
|
+
|
22
|
+
def self.from_dynamic!: (Hash[(String | Symbol), untyped] d) -> Mihari::Structs::Censys::Hit
|
23
|
+
end
|
24
|
+
|
25
|
+
class Links
|
26
|
+
attr_reader next: String
|
27
|
+
attr_reader prev: String
|
28
|
+
|
29
|
+
def self.from_dynamic!: (Hash[(String | Symbol), untyped] d) -> Mihari::Structs::Censys::Links
|
30
|
+
end
|
31
|
+
|
32
|
+
class Result
|
33
|
+
attr_reader query: String
|
34
|
+
attr_reader total: Integer
|
35
|
+
attr_reader hits: Array[Mihari::Structs::Censys::Hit]
|
36
|
+
attr_reader links: Mihari::Structs::Censys::Links
|
37
|
+
|
38
|
+
def self.from_dynamic!: (Hash[(String | Symbol), untyped] d) -> Mihari::Structs::Censys::Result
|
39
|
+
end
|
40
|
+
|
41
|
+
class Response
|
42
|
+
attr_reader code: Integer
|
43
|
+
attr_reader status: String
|
44
|
+
attr_reader result: Mihari::Structs::Censys::Result
|
45
|
+
|
46
|
+
def self.from_dynamic!: (Hash[(String | Symbol), untyped] d) -> Mihari::Structs::Censys::Response
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module Mihari
|
2
|
+
module Structs
|
3
|
+
module Onyphe
|
4
|
+
class Result
|
5
|
+
attr_reader asn: String
|
6
|
+
attr_reader country_code: String?
|
7
|
+
attr_reader ip: String
|
8
|
+
|
9
|
+
def self.from_dynamic!: (Hash[(String | Symbol), untyped] d) -> Mihari::Structs::Onyphe::Result
|
10
|
+
end
|
11
|
+
|
12
|
+
class Response
|
13
|
+
attr_reader count: Integer
|
14
|
+
attr_reader error: Integer
|
15
|
+
attr_reader max_page: Integer
|
16
|
+
attr_reader page: String
|
17
|
+
attr_reader results: Array[Mihari::Structs::Onyphe::Result]
|
18
|
+
attr_reader status: String
|
19
|
+
attr_reader total: Integer
|
20
|
+
|
21
|
+
def self.from_dynamic!: (Hash[(String | Symbol), untyped] d) -> Mihari::Structs::Onyphe::Response
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module Mihari
|
2
|
+
module Structs
|
3
|
+
module Shodan
|
4
|
+
class Location
|
5
|
+
attr_reader country_code: String
|
6
|
+
attr_reader country_name: String
|
7
|
+
|
8
|
+
def self.from_dynamic!: (Hash[(String | Symbol), untyped] d) -> Mihari::Structs::Shodan::Location
|
9
|
+
end
|
10
|
+
|
11
|
+
class Match
|
12
|
+
attr_reader asn: String
|
13
|
+
attr_reader hostnames: Array[String]
|
14
|
+
attr_reader location: Mihari::Structs::Shodan::Location
|
15
|
+
attr_reader domains: Array[String]
|
16
|
+
attr_reader ip_str: String
|
17
|
+
def self.from_dynamic!: (Hash[(String | Symbol), untyped] d) -> Mihari::Structs::Shodan::Match
|
18
|
+
end
|
19
|
+
|
20
|
+
class Result
|
21
|
+
attr_reader matches: Array[Mihari::Structs::Shodan::Match]
|
22
|
+
attr_reader total: Integer
|
23
|
+
|
24
|
+
def self.from_dynamic!: (Hash[(String | Symbol), untyped] d) -> Mihari::Structs::Shodan::Result
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
module Mihari
|
2
|
+
class TypeChecker
|
3
|
+
# extend Dry::Initializer
|
4
|
+
|
5
|
+
def initialize: (*untyped args, **untyped kwargs) -> void
|
6
|
+
|
7
|
+
# @return [true, false]
|
8
|
+
def hash?: () -> bool
|
9
|
+
|
10
|
+
# @return [true, false]
|
11
|
+
def ip?: () -> bool
|
12
|
+
|
13
|
+
# @return [true, false]
|
14
|
+
def domain?: () -> bool
|
15
|
+
|
16
|
+
# @return [true, false]
|
17
|
+
def url?: () -> bool
|
18
|
+
|
19
|
+
# @return [true, false]
|
20
|
+
def mail?: () -> bool
|
21
|
+
|
22
|
+
# @return [String, nil]
|
23
|
+
def type: () -> ("hash" | "ip" | "domain" | "url" | nil)
|
24
|
+
|
25
|
+
# @return [String, nil]
|
26
|
+
def detailed_type: () -> ("md5" | "sha1" | "sha256" | "sha512" | nil)
|
27
|
+
|
28
|
+
# @return [String, nil]
|
29
|
+
def self.type: (untyped data) -> String?
|
30
|
+
|
31
|
+
# @return [String, nil]
|
32
|
+
def self.detailed_type: (untyped data) -> String?
|
33
|
+
|
34
|
+
private
|
35
|
+
|
36
|
+
# @return [true, false]
|
37
|
+
def md5?: () -> bool
|
38
|
+
|
39
|
+
# @return [true, false]
|
40
|
+
def sha1?: () -> bool
|
41
|
+
|
42
|
+
# @return [true, false]
|
43
|
+
def sha256?: () -> bool
|
44
|
+
|
45
|
+
# @return [true, false]
|
46
|
+
def sha512?: () -> bool
|
47
|
+
end
|
48
|
+
end
|
data/sig/lib/mihari.rbs
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
class Configuration
|
2
|
+
attr_accessor binaryedge_api_key (): String?
|
3
|
+
attr_accessor censys_id (): String?
|
4
|
+
attr_accessor censys_secret (): String?
|
5
|
+
attr_accessor circl_passive_password (): String?
|
6
|
+
attr_accessor circl_passive_username (): String?
|
7
|
+
attr_accessor ipinfo_api_key (): String?
|
8
|
+
attr_accessor misp_api_endpoint (): String?
|
9
|
+
attr_accessor misp_api_key (): String?
|
10
|
+
attr_accessor onyphe_api_key (): String?
|
11
|
+
attr_accessor otx_api_key (): String?
|
12
|
+
attr_accessor passivetotal_api_key (): String?
|
13
|
+
attr_accessor passivetotal_username (): String?
|
14
|
+
attr_accessor pulsedive_api_key (): String?
|
15
|
+
attr_accessor securitytrails_api_key (): String?
|
16
|
+
attr_accessor shodan_api_key (): String?
|
17
|
+
attr_accessor slack_channel (): String?
|
18
|
+
attr_accessor slack_webhook_url (): String?
|
19
|
+
attr_accessor spyse_api_key (): String?
|
20
|
+
attr_accessor thehive_api_endpoint (): String?
|
21
|
+
attr_accessor thehive_api_key (): String?
|
22
|
+
attr_accessor urlscan_api_key (): String?
|
23
|
+
attr_accessor virustotal_api_key (): String?
|
24
|
+
attr_accessor zoomeye_api_key (): String?
|
25
|
+
attr_accessor webhook_url (): String?
|
26
|
+
attr_accessor webhook_use_json_body (): (bool | nil)
|
27
|
+
attr_accessor database (): String?
|
28
|
+
|
29
|
+
attr_reader values: Hash[(String | Symbol), String?]
|
30
|
+
end
|
31
|
+
|
32
|
+
module Mihari
|
33
|
+
def self.config: () -> Configuration
|
34
|
+
|
35
|
+
# extend Dry::Configurable
|
36
|
+
|
37
|
+
extend Mixins::Configuration
|
38
|
+
|
39
|
+
# include Mem
|
40
|
+
|
41
|
+
def self.emitters: () -> ::Array[singleton(Mihari::Emitters::Base)]
|
42
|
+
|
43
|
+
def self.analyzers: () -> ::Array[singleton(Mihari::Analyzers::Base)]
|
44
|
+
|
45
|
+
#
|
46
|
+
# Load configuration from YAML file
|
47
|
+
#
|
48
|
+
# @param [String] path Path to YAML file
|
49
|
+
#
|
50
|
+
# @return [nil]
|
51
|
+
#
|
52
|
+
def self.load_config_from_yaml: (String path) -> void
|
53
|
+
end
|
54
|
+
|
55
|
+
class Object
|
56
|
+
def truthy?: (untyped value) -> bool
|
57
|
+
end
|
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: 3.6.
|
4
|
+
version: 3.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manabu Niseki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08-
|
11
|
+
date: 2021-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -178,6 +178,20 @@ dependencies:
|
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '1.2'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: steep
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0.45'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0.45'
|
181
195
|
- !ruby/object:Gem::Dependency
|
182
196
|
name: timecop
|
183
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -960,6 +974,7 @@ files:
|
|
960
974
|
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
961
975
|
- ".github/workflows/test.yml"
|
962
976
|
- ".gitignore"
|
977
|
+
- ".gitmodules"
|
963
978
|
- ".overcommit.yml"
|
964
979
|
- ".rspec"
|
965
980
|
- ".standard.yml"
|
@@ -967,6 +982,7 @@ files:
|
|
967
982
|
- LICENSE
|
968
983
|
- README.md
|
969
984
|
- Rakefile
|
985
|
+
- Steepfile
|
970
986
|
- bin/console
|
971
987
|
- bin/setup
|
972
988
|
- build_frontend.sh
|
@@ -1135,6 +1151,90 @@ files:
|
|
1135
1151
|
- lib/mihari/web/public/static/js/app.cccddb2b.js.map
|
1136
1152
|
- mihari.gemspec
|
1137
1153
|
- renovate.json
|
1154
|
+
- sig/lib/mihari.rbs
|
1155
|
+
- sig/lib/mihari/analyzers/base.rbs
|
1156
|
+
- sig/lib/mihari/analyzers/basic.rbs
|
1157
|
+
- sig/lib/mihari/analyzers/binaryedge.rbs
|
1158
|
+
- sig/lib/mihari/analyzers/censys.rbs
|
1159
|
+
- sig/lib/mihari/analyzers/circl.rbs
|
1160
|
+
- sig/lib/mihari/analyzers/crtsh.rbs
|
1161
|
+
- sig/lib/mihari/analyzers/dnpedia.rbs
|
1162
|
+
- sig/lib/mihari/analyzers/dnstwister.rbs
|
1163
|
+
- sig/lib/mihari/analyzers/onyphe.rbs
|
1164
|
+
- sig/lib/mihari/analyzers/otx.rbs
|
1165
|
+
- sig/lib/mihari/analyzers/passivetotal.rbs
|
1166
|
+
- sig/lib/mihari/analyzers/pulsedive.rbs
|
1167
|
+
- sig/lib/mihari/analyzers/rule.rbs
|
1168
|
+
- sig/lib/mihari/analyzers/securitytrails.rbs
|
1169
|
+
- sig/lib/mihari/analyzers/shodan.rbs
|
1170
|
+
- sig/lib/mihari/analyzers/spyse.rbs
|
1171
|
+
- sig/lib/mihari/analyzers/urlscan.rbs
|
1172
|
+
- sig/lib/mihari/analyzers/virustotal.rbs
|
1173
|
+
- sig/lib/mihari/analyzers/zoomeye.rbs
|
1174
|
+
- sig/lib/mihari/cli/analyzer.rbs
|
1175
|
+
- sig/lib/mihari/cli/base.rbs
|
1176
|
+
- sig/lib/mihari/cli/init.rbs
|
1177
|
+
- sig/lib/mihari/cli/main.rbs
|
1178
|
+
- sig/lib/mihari/cli/mixins/utils.rbs
|
1179
|
+
- sig/lib/mihari/cli/validator.rbs
|
1180
|
+
- sig/lib/mihari/commands/binaryedge.rbs
|
1181
|
+
- sig/lib/mihari/commands/censys.rbs
|
1182
|
+
- sig/lib/mihari/commands/circl.rbs
|
1183
|
+
- sig/lib/mihari/commands/crtsh.rbs
|
1184
|
+
- sig/lib/mihari/commands/dnpedia.rbs
|
1185
|
+
- sig/lib/mihari/commands/dnstwister.rbs
|
1186
|
+
- sig/lib/mihari/commands/init.rbs
|
1187
|
+
- sig/lib/mihari/commands/json.rbs
|
1188
|
+
- sig/lib/mihari/commands/onyphe.rbs
|
1189
|
+
- sig/lib/mihari/commands/otx.rbs
|
1190
|
+
- sig/lib/mihari/commands/passivetotal.rbs
|
1191
|
+
- sig/lib/mihari/commands/pulsedive.rbs
|
1192
|
+
- sig/lib/mihari/commands/search.rbs
|
1193
|
+
- sig/lib/mihari/commands/securitytrails.rbs
|
1194
|
+
- sig/lib/mihari/commands/shodan.rbs
|
1195
|
+
- sig/lib/mihari/commands/spyse.rbs
|
1196
|
+
- sig/lib/mihari/commands/urlscan.rbs
|
1197
|
+
- sig/lib/mihari/commands/validator.rbs
|
1198
|
+
- sig/lib/mihari/commands/virustotal.rbs
|
1199
|
+
- sig/lib/mihari/commands/web.rbs
|
1200
|
+
- sig/lib/mihari/commands/zoomeye.rbs
|
1201
|
+
- sig/lib/mihari/constants.rbs
|
1202
|
+
- sig/lib/mihari/database.rbs
|
1203
|
+
- sig/lib/mihari/emitters/base.rbs
|
1204
|
+
- sig/lib/mihari/emitters/database.rbs
|
1205
|
+
- sig/lib/mihari/emitters/misp.rbs
|
1206
|
+
- sig/lib/mihari/emitters/slack.rbs
|
1207
|
+
- sig/lib/mihari/emitters/stdout.rbs
|
1208
|
+
- sig/lib/mihari/emitters/the_hive.rbs
|
1209
|
+
- sig/lib/mihari/emitters/webhook.rbs
|
1210
|
+
- sig/lib/mihari/errors.rbs
|
1211
|
+
- sig/lib/mihari/mixins/configurable.rbs
|
1212
|
+
- sig/lib/mihari/mixins/configuration.rbs
|
1213
|
+
- sig/lib/mihari/mixins/disallowed_data_value.rbs
|
1214
|
+
- sig/lib/mihari/mixins/hash.rbs
|
1215
|
+
- sig/lib/mihari/mixins/refang.rbs
|
1216
|
+
- sig/lib/mihari/mixins/retriable.rbs
|
1217
|
+
- sig/lib/mihari/mixins/rule.rbs
|
1218
|
+
- sig/lib/mihari/models/alert.rbs
|
1219
|
+
- sig/lib/mihari/models/artifact.rbs
|
1220
|
+
- sig/lib/mihari/models/autonomous_system.rbs
|
1221
|
+
- sig/lib/mihari/models/dns.rbs
|
1222
|
+
- sig/lib/mihari/models/geolocation.rbs
|
1223
|
+
- sig/lib/mihari/models/reverse_dns.rbs
|
1224
|
+
- sig/lib/mihari/models/tag.rbs
|
1225
|
+
- sig/lib/mihari/models/tagging.rbs
|
1226
|
+
- sig/lib/mihari/models/whois.rbs
|
1227
|
+
- sig/lib/mihari/notifiers/base.rbs
|
1228
|
+
- sig/lib/mihari/notifiers/exception_notifier.rbs
|
1229
|
+
- sig/lib/mihari/notifiers/slack.rbs
|
1230
|
+
- sig/lib/mihari/status.rbs
|
1231
|
+
- sig/lib/mihari/structs/censys.rbs
|
1232
|
+
- sig/lib/mihari/structs/onyphe.rbs
|
1233
|
+
- sig/lib/mihari/structs/shodan.rbs
|
1234
|
+
- sig/lib/mihari/type_checker.rbs
|
1235
|
+
- sig/lib/mihari/types.rbs
|
1236
|
+
- sig/lib/mihari/version.rbs
|
1237
|
+
- sig/lib/mihari/web/app.rbs
|
1138
1238
|
homepage: https://github.com/ninoseki/mihari
|
1139
1239
|
licenses:
|
1140
1240
|
- MIT
|