2021-11-27 22:09:10 +00:00
|
|
|
id: prometheus-exporter
|
|
|
|
|
2020-10-01 21:09:13 +00:00
|
|
|
info:
|
|
|
|
name: Prometheus exporter detect
|
2020-10-02 16:33:03 +00:00
|
|
|
author: jarijaas
|
2020-10-01 21:09:13 +00:00
|
|
|
severity: info
|
|
|
|
description: Prometheus exporter detector
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/prometheus/prometheus/wiki/Default-port-allocations
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: prometheus,misconfig
|
2020-10-04 11:23:02 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2020-10-01 21:09:13 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2021-01-13 07:31:46 +00:00
|
|
|
- "{{BaseURL}}"
|
2021-09-08 12:17:19 +00:00
|
|
|
|
2020-10-04 11:23:02 +00:00
|
|
|
matchers-condition: and
|
2020-10-01 21:09:13 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2021-11-27 22:09:10 +00:00
|
|
|
- 'Exporter'
|
|
|
|
- '<a href="/metrics">Metrics</a>'
|
2020-10-01 21:09:13 +00:00
|
|
|
condition: and
|
2021-09-08 12:17:19 +00:00
|
|
|
|
2021-11-27 22:09:10 +00:00
|
|
|
extractors:
|
2020-10-01 21:09:13 +00:00
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
group: 1
|
|
|
|
regex:
|
2023-10-14 11:27:55 +00:00
|
|
|
- "<title>(.*?)</title>"
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a004830460221008b6884e425244e72eb2d43e09414645dc749133a076653b021e10a6aedec696d022100d17caafaaf1bae854db89104ab6f5a3926e1e2d323eff294103b632a83e86665:922c64590222798bb761d5b6d8e72950
|