id: apostrophecms-detect

info:
  name: ApostropheCMS - Detect
  author: Shivam Kamboj
  severity: info
  description: |
    Detected the presence of ApostropheCMS, a full-stack content management system built on Node.js and MongoDB.
  reference:
    - https://apostrophecms.com/
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"window.apos"
  tags: tech,cms,apostrophe,discovery

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

    redirects: true

    matchers:
      - type: regex
        part: body
        regex:
          - '(?i)window\.apos\s*='
          - '(?i)/modules/apostrophe-'
        condition: and
# digest: 4a0a00473045022100f9373107c6491c49841210baca8cde2c283b554d65aa083fd38a34c7ec1b2aa4022067fb0bd156fc09ca50c2c34b24a17b39f6af73425729a2c9c3c0846f6635f189:922c64590222798bb761d5b6d8e72950