Files
nuclei-templates/http/technologies/puppetdb-detect.yaml

39 lines
900 B
YAML
Raw Normal View History

2022-03-09 00:17:22 +05:30
id: puppetdb-detect
info:
name: PuppetDB Detection
author: c-sh0
severity: info
reference:
- https://puppet.com/docs/puppetdb/7/api/meta/v1/version.html#pdbmetav1version
metadata:
max-request: 1
2023-10-14 16:57:55 +05:30
tags: puppet,tech,exposure
2022-03-09 00:17:22 +05:30
http:
2022-03-09 00:17:22 +05:30
- method: GET
path:
- "{{BaseURL}}/pdb/meta/v1/version"
2022-03-09 17:03:51 +05:30
matchers-condition: and
2022-03-09 00:17:22 +05:30
matchers:
- type: status
status:
- 200
- type: word
part: header
words:
- 'application/json'
2023-08-05 23:12:50 +05:30
- type: regex
2022-03-09 00:17:22 +05:30
part: body
2023-08-06 05:07:55 +05:30
regex:
2023-08-05 23:12:50 +05:30
- '"version"\s:\s"([0-9.]+)"'
2022-03-09 00:17:22 +05:30
extractors:
- type: regex
group: 1
regex:
- '"version"\s:\s"([0-9.]+)"'
2024-12-01 13:57:55 +00:00
# digest: 4b0a00483046022100aa2a5ee0fe10cf6f55d415c3cf3d22ce885c2d4f8152378dad650a105c63ce8a022100c2be0173caef5e04d1f893d36bbe528e27371a0c091897a1d09d3796cebf457f:922c64590222798bb761d5b6d8e72950