mihari 3.8.0 → 3.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aac91d43689cb53dc0570bfed3cec57a07cbe88de0716530f2ea8bfac8f8d39d
4
- data.tar.gz: 0f59bdc53cfa75e56884dd3497fa0492d3a41a3b7540cbdab1345ec5b301c69c
3
+ metadata.gz: 0a3dcac61a2835aa2f940ab90edf363b10293d0537baf8b1748212686770495f
4
+ data.tar.gz: 1f1bb0515227d8cb842e511b3045298bec2b981706ddacd0750b9a6a11aa2625
5
5
  SHA512:
6
- metadata.gz: 30aef30fb14c7c1a50e75162141d1266b1ec5b847f6329935a221a90f59d37a2bed97c6a8aa4371962ab85b18c5ff23cf0417f08f9dc3320c737721ac1a07602
7
- data.tar.gz: 1029878ec85cbdbe0a2c800b6b68cce99d45510818dde6b1d84a826022379cbe21fc57f490e3a77521136dbc22e8112b804d891892ea0a351e0d1db935b28b4b
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
@@ -21,11 +21,15 @@ module Mihari
21
21
  "onyphe",
22
22
  "otx",
23
23
  "passivetotal",
24
+ "pt",
24
25
  "pulsedive",
25
26
  "securitytrails",
26
27
  "shodan",
28
+ "st",
27
29
  "virustotal_intelligence",
28
- "virustotal"
30
+ "virustotal",
31
+ "vt_intel",
32
+ "vt"
29
33
  )
30
34
  end
31
35
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mihari
4
- VERSION = "3.8.0"
4
+ VERSION = "3.8.1"
5
5
  end
@@ -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.06d5cf1c.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.06d5cf1c.js"></script></body></html>
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>