mihari 5.4.4 → 5.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -25
- data/docs/alternatives.md +5 -0
- data/docs/analyzers/binaryedge.md +26 -0
- data/docs/analyzers/censys.md +31 -0
- data/docs/analyzers/circl.md +37 -0
- data/docs/analyzers/crtsh.md +26 -0
- data/docs/analyzers/dnstwister.md +25 -0
- data/docs/analyzers/feed.md +73 -0
- data/docs/analyzers/greynoise.md +26 -0
- data/docs/analyzers/hunterhow.md +33 -0
- data/docs/analyzers/index.md +79 -0
- data/docs/analyzers/onyphe.md +26 -0
- data/docs/analyzers/otx.md +28 -0
- data/docs/analyzers/passivetotal.md +48 -0
- data/docs/analyzers/pulsedive.md +28 -0
- data/docs/analyzers/securitytrails.md +37 -0
- data/docs/analyzers/shodan.md +26 -0
- data/docs/analyzers/urlscan.md +28 -0
- data/docs/analyzers/virustotal.md +39 -0
- data/docs/analyzers/virustotal_intelligence.md +29 -0
- data/docs/analyzers/zoomeye.md +33 -0
- data/docs/configuration.md +35 -0
- data/docs/emitters/database.md +22 -0
- data/docs/emitters/hive.md +26 -0
- data/docs/emitters/index.md +7 -0
- data/docs/emitters/misp.md +21 -0
- data/docs/emitters/slack.md +26 -0
- data/docs/emitters/webhook.md +63 -0
- data/docs/enrichers/google_public_dns.md +19 -0
- data/docs/enrichers/index.md +6 -0
- data/docs/enrichers/ipinfo.md +19 -0
- data/docs/enrichers/shodan.md +22 -0
- data/docs/enrichers/whois.md +17 -0
- data/docs/github_actions.md +43 -0
- data/docs/index.md +13 -0
- data/docs/installation.md +31 -0
- data/docs/requirements.md +20 -0
- data/docs/rule.md +171 -0
- data/docs/tags.md +3 -0
- data/docs/usage.md +100 -0
- data/frontend/package-lock.json +232 -229
- data/frontend/package.json +7 -7
- data/lib/mihari/analyzers/feed.rb +7 -7
- data/lib/mihari/version.rb +1 -1
- data/lib/mihari/web/public/assets/{index-ef33a6cd.js → index-0a5a47bf.js} +43 -41
- data/lib/mihari/web/public/index.html +1 -1
- data/mihari.gemspec +1 -1
- data/mkdocs.yml +35 -0
- data/requirements.txt +2 -0
- metadata +45 -4
data/frontend/package.json
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
"@vueuse/core": "^10.4.1",
|
21
21
|
"@vueuse/router": "^10.4.1",
|
22
22
|
"ace-builds": "^1.28.0",
|
23
|
-
"axios": "^1.5.
|
23
|
+
"axios": "^1.5.1",
|
24
24
|
"bulma": "^0.9.4",
|
25
25
|
"bulma-helpers": "^0.4.3",
|
26
26
|
"dayjs": "^1.11.10",
|
@@ -38,13 +38,13 @@
|
|
38
38
|
},
|
39
39
|
"devDependencies": {
|
40
40
|
"@redocly/cli": "1.2.0",
|
41
|
-
"@rushstack/eslint-patch": "^1.
|
41
|
+
"@rushstack/eslint-patch": "^1.5.0",
|
42
42
|
"@tsconfig/node20": "^20.1.2",
|
43
43
|
"@types/jsdom": "^21.1.3",
|
44
|
-
"@types/node": "^20.
|
44
|
+
"@types/node": "^20.7.2",
|
45
45
|
"@types/url-parse": "^1.4.9",
|
46
|
-
"@typescript-eslint/eslint-plugin": "^6.7.
|
47
|
-
"@typescript-eslint/parser": "^6.7.
|
46
|
+
"@typescript-eslint/eslint-plugin": "^6.7.3",
|
47
|
+
"@typescript-eslint/parser": "^6.7.3",
|
48
48
|
"@vitejs/plugin-vue": "^4.3.4",
|
49
49
|
"@vue/eslint-config-prettier": "^8.0.0",
|
50
50
|
"@vue/eslint-config-typescript": "^12.0.0",
|
@@ -61,7 +61,7 @@
|
|
61
61
|
"prettier": "^3.0.3",
|
62
62
|
"typescript": "~5.2.2",
|
63
63
|
"vite": "^4.4.9",
|
64
|
-
"vitest": "^0.34.
|
65
|
-
"vue-tsc": "^1.8.
|
64
|
+
"vitest": "^0.34.6",
|
65
|
+
"vue-tsc": "^1.8.15"
|
66
66
|
}
|
67
67
|
}
|
@@ -15,7 +15,7 @@ module Mihari
|
|
15
15
|
# @return [Hash, nil]
|
16
16
|
attr_reader :params
|
17
17
|
|
18
|
-
# @return [Hash
|
18
|
+
# @return [Hash]
|
19
19
|
attr_reader :headers
|
20
20
|
|
21
21
|
# @return [String]
|
@@ -31,17 +31,17 @@ module Mihari
|
|
31
31
|
# @param [String] query
|
32
32
|
# @param [Hash, nil] options
|
33
33
|
# @param [String] method
|
34
|
-
# @param [Hash] headers
|
35
|
-
# @param [Hash] params
|
36
|
-
# @param [Hash] json
|
37
|
-
# @param [Hash] data
|
34
|
+
# @param [Hash, nil] headers
|
35
|
+
# @param [Hash, nil] params
|
36
|
+
# @param [Hash, nil] json
|
37
|
+
# @param [Hash, nil] data
|
38
38
|
# @param [String] selector
|
39
39
|
#
|
40
|
-
def initialize(query, options: nil, method: "GET", headers:
|
40
|
+
def initialize(query, options: nil, method: "GET", headers: nil, params: nil, json: nil, data: nil, selector: "")
|
41
41
|
super(query, options: options)
|
42
42
|
|
43
43
|
@method = method
|
44
|
-
@headers = headers
|
44
|
+
@headers = headers || {}
|
45
45
|
@params = params
|
46
46
|
@json = json
|
47
47
|
@data = data
|
data/lib/mihari/version.rb
CHANGED