mihari 5.7.2 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/config.ru +2 -0
  3. data/lib/mihari/analyzers/dnstwister.rb +2 -4
  4. data/lib/mihari/analyzers/urlscan.rb +1 -4
  5. data/lib/mihari/cli/main.rb +2 -12
  6. data/lib/mihari/commands/database.rb +0 -1
  7. data/lib/mihari/database.rb +2 -4
  8. data/lib/mihari/emitters/slack.rb +3 -6
  9. data/lib/mihari/emitters/the_hive.rb +3 -7
  10. data/lib/mihari/enrichers/google_public_dns.rb +2 -7
  11. data/lib/mihari/enrichers/ipinfo.rb +1 -3
  12. data/lib/mihari/enrichers/shodan.rb +1 -3
  13. data/lib/mihari/enrichers/whois.rb +0 -4
  14. data/lib/mihari/mixins/refang.rb +1 -4
  15. data/lib/mihari/mixins/unwrap_error.rb +27 -0
  16. data/lib/mihari/models/alert.rb +1 -3
  17. data/lib/mihari/models/artifact.rb +5 -7
  18. data/lib/mihari/models/rule.rb +1 -2
  19. data/lib/mihari/rule.rb +14 -10
  20. data/lib/mihari/service.rb +2 -0
  21. data/lib/mihari/services/rule_builder.rb +2 -4
  22. data/lib/mihari/structs/fofa.rb +2 -0
  23. data/lib/mihari/version.rb +1 -1
  24. data/lib/mihari/web/app.rb +3 -1
  25. data/lib/mihari/web/endpoints/alerts.rb +14 -18
  26. data/lib/mihari/web/endpoints/artifacts.rb +17 -22
  27. data/lib/mihari/web/endpoints/configs.rb +0 -1
  28. data/lib/mihari/web/endpoints/ip_addresses.rb +1 -1
  29. data/lib/mihari/web/endpoints/rules.rb +27 -32
  30. data/lib/mihari/web/endpoints/tags.rb +7 -9
  31. data/lib/mihari/web/middleware/connection_adapter.rb +3 -5
  32. data/lib/mihari/web/middleware/error_notification_adapter.rb +10 -6
  33. data/lib/mihari/web/public/assets/{index-ec641cb0.js → index-07cddfcd.js} +3 -3
  34. data/lib/mihari/web/public/index.html +1 -1
  35. data/lib/mihari/web/public/redoc-static.html +29 -49
  36. data/lib/mihari.rb +1 -1
  37. data/mihari.gemspec +10 -12
  38. data/requirements.txt +1 -1
  39. metadata +72 -30
  40. data/lib/mihari/services/rule_runner.rb +0 -19
@@ -6,7 +6,7 @@
6
6
  <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
7
  <link rel="icon" href="/favicon.ico" />
8
8
  <title>Mihari</title>
9
- <script type="module" crossorigin src="/assets/index-ec641cb0.js"></script>
9
+ <script type="module" crossorigin src="/assets/index-07cddfcd.js"></script>
10
10
  <link rel="stylesheet" href="/assets/index-56fc2187.css">
11
11
  </head>
12
12
  <body>