mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
Hey 👋 I have added another path to detect URL rewrite. URL rewrite is mentioned in the official documentation : https://docs.nextcloud.com/server/latest/admin_manual/installation/source_installation.html#pretty-urls or https://help.nextcloud.com/t/removing-index-php-from-the-nextcloud-uri/13055 and so on. I just experienced the `/nextcloud/login`. Cheers 😄
45 lines
940 B
YAML
45 lines
940 B
YAML
id: nextcloud-detect
|
|
|
|
info:
|
|
name: Nextcloud Detect
|
|
author: skeltavik
|
|
severity: info
|
|
description: |
|
|
Nextcloud is a suite of client-server software for creating and using file hosting services
|
|
reference:
|
|
- https://nextcloud.com
|
|
metadata:
|
|
verified: true
|
|
shodan-query: http.title:"Nextcloud"
|
|
tags: tech,nextcloud,storage
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}'
|
|
- '{{BaseURL}}/login'
|
|
- '{{BaseURL}}/nextcloud/login'
|
|
- '{{BaseURL}}/nextcloud/index.php/login'
|
|
|
|
stop-at-first-match: true
|
|
host-redirects: true
|
|
max-redirects: 2
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'var nc_lastLogin'
|
|
- 'var nc_pageLoad'
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
extractors:
|
|
- type: regex
|
|
group: 1
|
|
regex:
|
|
- '(?m)"version":"([0-9.]+)",'
|