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