id: apache-guacamole

info:
  name: Apache Guacamole Login Page and version detection
  author: r3dg33k
  severity: info
  metadata:
    max-request: 1
  tags: apache,guacamole,tech,login

http:
  - method: GET
    path:
      - "{{BaseURL}}/translations/en.json"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Apache Guacamole'

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        regex:
          - '"VERSION":"[0-9]+\.2\.0"'

# digest: 490a0046304402201c1e33f0ad9a3171cd4a145ce4f65e3f38a7889839979bf134926b1b305404ac022004790b5e2c61c406002a7bce3989c328859774f45cec314c0d69e07c131b9ea5:922c64590222798bb761d5b6d8e72950
