id: craftercms-detect

info:
  name: CrafterCMS - Detect
  author: righettod
  severity: info
  description: |
    CrafterCMS was detected.
  reference:
    - https://craftercms.org/
  classification:
    cpe: cpe:2.3:a:craftercms:crafter_cms:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: craftercms
    product: crafter_cms
    shodan-query: http.title:"craftercms"
  tags: tech,craftercms,detect

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

    host-redirects: true
    max-redirects: 2
    matchers:
      - type: word
        part: header
        words:
          - 'CrafterCMS'

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'Copyright\s+\(C\)\s+([0-9-]+)\s+Crafter'
# digest: 4a0a00473045022100c361c038a59acabdfcb42b73c5b10207503a028e722df1a46fde8050dbe9b98d02205b51f4a7314fec92a1dbf2bdb1744f2b8e7d8b23c3a708746c44cb14481bef13:922c64590222798bb761d5b6d8e72950