id: grav-cms-detect

info:
  name: Grav CMS Detect
  author: cyllective
  severity: info
  description: Detects Grav CMS
  reference:
    - https://github.com/getgrav/grav
  metadata:
    max-request: 1
  tags: tech,grav,cms

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

    matchers-condition: or
    matchers:
      - type: word
        part: header
        words:
          - 'Set-Cookie: grav-site-'

      - type: word
        part: body
        words:
          - '<meta name="generator" content="GravCMS" />'
# digest: 4a0a0047304502200b43d4a73be5b78200fcd7819dc931a6e60c49bf58b1104a6e2a680bdc822928022100a3aad9448a134ae5924d29062e733e2324334ad027181d819b90f7d76af82f74:922c64590222798bb761d5b6d8e72950