id: redcap-detector

info:
  name: REDCap detector
  author: philippedelteil,retr0
  severity: info
  metadata:
    max-request: 1
  tags: redcap,tech

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'REDCap'
          - 'Vanderbilt University'
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'REDCap ([0-9-.]+)'
# digest: 490a0046304402206eb7e43afe6951a4f59629036d9a91d345568c9e1a37d5bbf2fa8d04ebb217e302200425f6901975fbedf1a20112eb1f735d07cd03b46a7febcee63b625dfded5824:922c64590222798bb761d5b6d8e72950