Merge pull request #4894 from myztique/patch-2

Create nextcloud-owncloud-detect.yaml
patch-1
Prince Chaddha 2022-07-28 21:18:04 +05:30 committed by GitHub
commit 0dc7a4aaa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
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\.]+)"'