id: owncloud-status-page

info:
  name: Owncloud StatusPage detection
  author: myztique,invisiblethreat
  severity: info
  classification:
    cpe: cpe:2.3:a:owncloud:owncloud:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: owncloud
    product: owncloud
    shodan-query: http.html:"owncloud"
  tags: tech,owncloud,status,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/status.php"

    matchers:
      - type: word
        part: body
        words:
          - '"versionstring":'
          - '"installed":'
          - '"edition":'
        condition: and

    extractors:
      - type: json
        json:
          - .version
# digest: 4b0a004830460221009b1cad11a18fc1200aae1d4e9b7faca5738e562074ce8940bd78a597c02dd51102210083d536b470ca5abdbab157b09773df871962c1aecfc110c65b95ec5418c1cc84:922c64590222798bb761d5b6d8e72950