32 lines
631 B
YAML
32 lines
631 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
|
|
tags: prometheus
|
|
metadata:
|
|
max-request: 1
|
|
|
|
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>" |