mihari 3.8.0 → 3.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/mihari/analyzers/rule.rb +24 -20
- data/lib/mihari/types.rb +5 -1
- data/lib/mihari/version.rb +1 -1
- data/lib/mihari/web/public/index.html +1 -1
- data/lib/mihari/web/public/static/js/app.a862ebca.js +50 -0
- data/lib/mihari/web/public/static/js/app.a862ebca.js.map +1 -0
- data/sig/lib/mihari/analyzers/rule.rbs +2 -2
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0a3dcac61a2835aa2f940ab90edf363b10293d0537baf8b1748212686770495f
|
|
4
|
+
data.tar.gz: 1f1bb0515227d8cb842e511b3045298bec2b981706ddacd0750b9a6a11aa2625
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ce4ad498c64026a3b349c927dcd5f98bb59415a232acaaf279cde6f45d8f4af18bb62776568c092e261c936e5574f487a02f1fc4089f8af05a367578f06864b5
|
|
7
|
+
data.tar.gz: a5223e8a9f2060374df5cb21f6dbcfd475ce66408a04356131471fbb0321ac4622fec0df7ebf354ae2b46c537460a8738beb3dda5ac35c3a11588a4a97642712
|
|
@@ -4,6 +4,30 @@ require "uuidtools"
|
|
|
4
4
|
|
|
5
5
|
module Mihari
|
|
6
6
|
module Analyzers
|
|
7
|
+
ANALYZER_TO_CLASS = {
|
|
8
|
+
"binaryedge" => BinaryEdge,
|
|
9
|
+
"censys" => Censys,
|
|
10
|
+
"circl" => CIRCL,
|
|
11
|
+
"crtsh" => Crtsh,
|
|
12
|
+
"dnpedia" => DNPedia,
|
|
13
|
+
"dnstwister" => DNSTwister,
|
|
14
|
+
"onyphe" => Onyphe,
|
|
15
|
+
"otx" => OTX,
|
|
16
|
+
"passivetotal" => PassiveTotal,
|
|
17
|
+
"pt" => PassiveTotal,
|
|
18
|
+
"pulsedive" => Pulsedive,
|
|
19
|
+
"securitytrails" => SecurityTrails,
|
|
20
|
+
"shodan" => Shodan,
|
|
21
|
+
"spyse" => Spyse,
|
|
22
|
+
"st" => SecurityTrails,
|
|
23
|
+
"urlscan" => Urlscan,
|
|
24
|
+
"virustotal_intelligence" => VirusTotalIntelligence,
|
|
25
|
+
"virustotal" => VirusTotal,
|
|
26
|
+
"vt_intel" => VirusTotalIntelligence,
|
|
27
|
+
"vt" => VirusTotal,
|
|
28
|
+
"zoomeye" => ZoomEye
|
|
29
|
+
}.freeze
|
|
30
|
+
|
|
7
31
|
class Rule < Base
|
|
8
32
|
include Mihari::Mixins::DisallowedDataValue
|
|
9
33
|
|
|
@@ -26,26 +50,6 @@ module Mihari
|
|
|
26
50
|
validate_analyzer_configurations
|
|
27
51
|
end
|
|
28
52
|
|
|
29
|
-
ANALYZER_TO_CLASS = {
|
|
30
|
-
"binaryedge" => BinaryEdge,
|
|
31
|
-
"censys" => Censys,
|
|
32
|
-
"circl" => CIRCL,
|
|
33
|
-
"crtsh" => Crtsh,
|
|
34
|
-
"dnpedia" => DNPedia,
|
|
35
|
-
"dnstwister" => DNSTwister,
|
|
36
|
-
"onyphe" => Onyphe,
|
|
37
|
-
"otx" => OTX,
|
|
38
|
-
"passivetotal" => PassiveTotal,
|
|
39
|
-
"pulsedive" => Pulsedive,
|
|
40
|
-
"securitytrails" => SecurityTrails,
|
|
41
|
-
"shodan" => Shodan,
|
|
42
|
-
"spyse" => Spyse,
|
|
43
|
-
"urlscan" => Urlscan,
|
|
44
|
-
"virustotal" => VirusTotal,
|
|
45
|
-
"virustotal_intelligence" => VirusTotalIntelligence,
|
|
46
|
-
"zoomeye" => ZoomEye
|
|
47
|
-
}.freeze
|
|
48
|
-
|
|
49
53
|
#
|
|
50
54
|
# Returns a list of artifacts matched with queries
|
|
51
55
|
#
|
data/lib/mihari/types.rb
CHANGED
data/lib/mihari/version.rb
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/static/favicon.ico"><title>Mihari</title><link href="/static/js/app.
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/static/favicon.ico"><title>Mihari</title><link href="/static/js/app.a862ebca.js" rel="preload" as="script"></head><body><noscript><strong>We're sorry but Mihari doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/static/js/app.a862ebca.js"></script></body></html>
|