nuclei-templates/http/technologies/matrix-homeserver-detect.yaml

28 lines
600 B
YAML
Raw Normal View History

id: matrix-homeserver-detect
info:
name: Matrix Homeserver - Version Detection
author: Davide Girardi
severity: info
description: |
Extract the Matrix homeserver name and version
metadata:
max-request: 1
shodan-query: title:"Synapse is running"
verified: true
tags: tech,matrix,synapse
http:
- method: GET
path:
- "{{BaseURL}}/_matrix/federation/v1/version"
redirects: true
max-redirects: 2
extractors:
- type: json
part: body
json:
- '.server | select((.name != null) and (.version != null)) | .name, .version'