nuclei-templates/technologies/nextcloud-owncloud-detect.yaml

30 lines
646 B
YAML

id: owncloud-status-page
info:
name: Owncloud StatusPage detection
author: myztique
severity: info
metadata:
verified: true
shodan-query: http.html:"owncloud"
tags: tech,owncloud,status
requests:
- method: GET
path:
- "{{BaseURL}}/status.php"
matchers:
- type: regex
part: body
regex:
- '{"installed":(?:true|false),"maintenance":(?:true|false),"version":"[0-9\.]*","versionstring":"[a-z-A-Z0-9\.]*","edition":"[\d\D]*"}'
extractors:
- type: regex
part: body
name: version
group: 1
regex:
- '{[\d\D]*"version":"([0-9\.]+)"'