2021-09-05 17:22:45 +00:00
|
|
|
id: nextcloud-detect
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Nextcloud Detect
|
|
|
|
author: skeltavik
|
|
|
|
severity: info
|
2022-10-06 03:50:59 +00:00
|
|
|
description: Nextcloud is a suite of client-server software for creating and using file hosting services
|
|
|
|
reference: https://nextcloud.com
|
2021-09-05 17:22:45 +00:00
|
|
|
tags: tech,nextcloud,storage
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}'
|
|
|
|
- '{{BaseURL}}/login'
|
2021-09-05 17:26:47 +00:00
|
|
|
- '{{BaseURL}}/nextcloud/index.php/login'
|
2021-09-05 17:22:45 +00:00
|
|
|
|
2021-09-05 17:26:47 +00:00
|
|
|
stop-at-first-match: true
|
2021-09-05 17:22:45 +00:00
|
|
|
redirects: true
|
|
|
|
max-redirects: 2
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'var nc_lastLogin'
|
2022-10-06 03:50:59 +00:00
|
|
|
- 'var nc_pageLoad'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- '(?m)"version":"([0-9.]+)",'
|