id: owncloud-status-page

info:
  name: Owncloud StatusPage detection
  author: myztique,invisiblethreat
  severity: info
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.html:"owncloud"
  tags: tech,owncloud,status

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

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

    extractors:
      - type: json
        json:
          - .version
# digest: 490a004630440220740dda35113ef3bee6f0e7b482c1610bee7a6241dfae549e0861eac1f245cb8502200819eae06d45104e3870e12454721296efc0e4ca0abbea217e1303ef840e1933:922c64590222798bb761d5b6d8e72950