35 lines
839 B
YAML
35 lines
839 B
YAML
id: prometheus-exporter
|
|
|
|
info:
|
|
name: Prometheus exporter detect
|
|
author: jarijaas
|
|
severity: info
|
|
description: Prometheus exporter detector
|
|
reference:
|
|
- https://github.com/prometheus/prometheus/wiki/Default-port-allocations
|
|
metadata:
|
|
max-request: 1
|
|
tags: prometheus,misconfig
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- 'Exporter'
|
|
- '<a href="/metrics">Metrics</a>'
|
|
condition: and
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
group: 1
|
|
regex:
|
|
- "<title>(.*?)</title>"
|
|
|
|
# digest: 4b0a004830460221008b6884e425244e72eb2d43e09414645dc749133a076653b021e10a6aedec696d022100d17caafaaf1bae854db89104ab6f5a3926e1e2d323eff294103b632a83e86665:922c64590222798bb761d5b6d8e72950
|