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 max-request: 4 shodan-query: http.title:"Nextcloud" tags: tech,nextcloud,storage http: - 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.]+)",' # digest: 4a0a00473045022100938d847bcc0b475ce2db2df8e93fd72beee7d2c05e3bbbfc840ca2c2a18d9fc202207734d0da58a3f16e28e0b30902d898f0e7f4b8f86b4b583c684b807a199013c0:922c64590222798bb761d5b6d8e72950