id: octobercms-detect

info:
  name: OctoberCMS detect
  author: cyllective
  severity: info
  description: Detects OctoberCMS
  reference:
    - https://github.com/octobercms/october
  metadata:
    max-request: 2
  tags: tech,octobercms

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/modules/system/assets/js/framework.combined-min.js"

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 1
    matchers:
      - type: word
        part: header
        words:
          - 'october_session'

      - type: word
        part: body
        words:
          - 'OctoberCMS'
# digest: 4a0a0047304502201d6cb96686bf73b067491ad98dc8208c66272907970885b9b14e1c9c21e81a2b022100aec0695d543ed044cd1cb4552e7d21743e031b641d245455f94811bc76d28880:922c64590222798bb761d5b6d8e72950