nuclei-templates/http/exposed-panels/hashicorp-consul-agent.yaml

26 lines
490 B
YAML
Raw Normal View History

id: hashicorp-consul-agent
info:
name: Hashicorp Consul Agent Detection
author: c-sh0
severity: info
description: Obtain Consul Version Information
tags: tech,consul,api
http:
- method: GET
path:
- "{{BaseURL}}/v1/agent/self"
matchers:
- type: word
words:
- '"Datacenter":'
- '"Revision":'
- '"PrimaryDatacenter"'
condition: and
extractors:
- type: json
json:
- " .Config.Version"