mihari 4.10.0 → 4.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mihari/analyzers/circl.rb +1 -1
  3. data/lib/mihari/emitters/slack.rb +2 -2
  4. data/lib/mihari/version.rb +1 -1
  5. data/lib/mihari/web/public/assets/fa-brands-400.3fe890d0.woff2 +0 -0
  6. data/lib/mihari/web/public/{static/fonts/fa-brands-400.f5defc2e.ttf → assets/fa-brands-400.c7ae37d3.ttf} +0 -0
  7. data/lib/mihari/web/public/{static/fonts/fa-regular-400.3edb9004.ttf → assets/fa-regular-400.fdc1f753.ttf} +0 -0
  8. data/lib/mihari/web/public/assets/fa-regular-400.fe69d948.woff2 +0 -0
  9. data/lib/mihari/web/public/assets/fa-solid-900.6d53c706.ttf +0 -0
  10. data/lib/mihari/web/public/assets/fa-solid-900.d27bc752.woff2 +0 -0
  11. data/lib/mihari/web/public/assets/fa-v4compatibility.4d73f280.ttf +0 -0
  12. data/lib/mihari/web/public/assets/fa-v4compatibility.7d1c2ce5.woff2 +0 -0
  13. data/lib/mihari/web/public/assets/index.d3a61a69.js +68 -0
  14. data/lib/mihari/web/public/assets/index.e1e67d84.css +5 -0
  15. data/lib/mihari/web/public/{static/favicon.ico → favicon.ico} +0 -0
  16. data/lib/mihari/web/public/index.html +23 -1
  17. data/lib/mihari/web/public/redoc-static.html +8 -8
  18. data/lib/mihari.rb +0 -2
  19. data/mihari.gemspec +13 -13
  20. metadata +39 -43
  21. data/lib/mihari/web/public/static/css/app.2a5d3d21.css +0 -1
  22. data/lib/mihari/web/public/static/css/chunk-vendors.380724be.css +0 -7
  23. data/lib/mihari/web/public/static/fonts/fa-brands-400.86c7e1fa.woff2 +0 -0
  24. data/lib/mihari/web/public/static/fonts/fa-regular-400.e0550912.woff2 +0 -0
  25. data/lib/mihari/web/public/static/fonts/fa-solid-900.64d5644d.woff2 +0 -0
  26. data/lib/mihari/web/public/static/fonts/fa-solid-900.f418d876.ttf +0 -0
  27. data/lib/mihari/web/public/static/fonts/fa-v4compatibility.7e7e1dad.ttf +0 -0
  28. data/lib/mihari/web/public/static/js/app.6413bf4f.js +0 -2
  29. data/lib/mihari/web/public/static/js/app.6413bf4f.js.map +0 -1
  30. data/lib/mihari/web/public/static/js/chunk-vendors.723e02cf.js +0 -31
  31. data/lib/mihari/web/public/static/js/chunk-vendors.723e02cf.js.map +0 -1
  32. data/sig/lib/mihari/analyzers/spyse.rbs +0 -29
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54ef0421cb5da34c8174fe0fdc3b43d310770dca779dd51fac284a678b86fc0a
4
- data.tar.gz: 6b24c7b37c00f7ebed9ee0fcfbfb66b95d7d60ea7c7792a40be32607bdda07fe
3
+ metadata.gz: eda042a7f3e0c70bb86a1008d24556b2daf4264142e01936e4bdab3da275ff39
4
+ data.tar.gz: a5e3711ecb0fb982ce6280fbed12261d753e2224966e3961ac2cfe2b83e0e15d
5
5
  SHA512:
6
- metadata.gz: 941a6e47d53a2287d793fe28fab3e6e9295076ed39e50fcf8f55e6cdca102381ae425b3db603acdfea9b28e438a7f57627ed793be1efcb0093d83b17ac128535
7
- data.tar.gz: 25055c04746f33620e0c762f1d79d6407d8a9156d47820c2129ed4b72e926e7cf2d3ea275ff546046bb5b9ce82fe069b222d56f5b69700eb44179f83d80c058c
6
+ metadata.gz: f33e198db0d4964eb15372b30ef6733aaf3efe51b31640e62e33da2412089e30f618ea9509cc86d57a6e38ae65eac1dd5c7f3fab9c2dc1d5793d005bdcb95862
7
+ data.tar.gz: d7824b329d6117c2539e62044374b989538e4d22fd7641eb63b11db3b766ef52943f3559cb6a43be440b60f55609a763e316661e69196d6749486c8027cad5b2
@@ -71,7 +71,7 @@ module Mihari
71
71
  results = api.dns.query(@query)
72
72
  results.filter_map do |result|
73
73
  type = result["rrtype"]
74
- type == "A" ? result["rdata"] : nil
74
+ (type == "A") ? result["rdata"] : nil
75
75
  end.uniq
76
76
  end
77
77
 
@@ -87,13 +87,13 @@ module Mihari
87
87
 
88
88
  # @return [String, nil]
89
89
  def _censys_link
90
- data_type == "ip" ? "https://search.censys.io/hosts/#{data}" : nil
90
+ (data_type == "ip") ? "https://search.censys.io/hosts/#{data}" : nil
91
91
  end
92
92
  memoize :_censys_link
93
93
 
94
94
  # @return [String, nil]
95
95
  def _shodan_link
96
- data_type == "ip" ? "https://www.shodan.io/host/#{data}" : nil
96
+ (data_type == "ip") ? "https://www.shodan.io/host/#{data}" : nil
97
97
  end
98
98
  memoize :_shodan_link
99
99
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mihari
4
- VERSION = "4.10.0"
4
+ VERSION = "4.11.0"
5
5
  end