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: 4b0a00483046022100834b09dd0c04343b464a3b29e6592fc4816e3d7ec7d75bf0a9e30cff2273a25b022100b0dd525a1a63a9506e25fe13567daa88a68e3c9a40836ed769c27f5f8adda782:922c64590222798bb761d5b6d8e72950