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