id: craft-cms-detect

info:
  name: Craft CMS Detect
  author: skeltavik
  severity: info
  description: Detects Craft CMS
  reference:
    - https://craftcms.com
  metadata:
    max-request: 1
  tags: tech,craftcms

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

    host-redirects: true
    max-redirects: 2
    matchers:
      - type: word
        part: header
        words:
          - 'X-Powered-By: Craft CMS'

      - type: regex
        part: header
        regex:
          - 'Set-Cookie: (Craft|CRAFT)'
# digest: 4a0a0047304502207d753094bc10080da23fb2b996cbdbb0acc5214ae933a38571951370f553a7d20221009d905e141d110000a20a7232e55207a469a5af6a0af1aa1687fc79eb1c9740f1:922c64590222798bb761d5b6d8e72950