id: roadiz-cms-detect

info:
  name: Roadiz CMS - Detect
  author: righettod
  severity: info
  description: |
    Roadiz is a modern CMS based on Symfony components with a focus on handling complex content structures. This template detects Roadiz CMS installations by checking for generator meta tags.
  reference:
    - https://github.com/roadiz/roadiz
    - https://www.roadiz.io/
  metadata:
    verified: true
    max-request: 1
    vendor: roadiz
    product: roadiz
    shodan-query: http.html:"roadiz"
    fofa-query: body="roadiz"
  tags: tech,cms,roadiz,detect,discovery

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

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(to_lower(body), "<meta name=\"generator\" content=\"roadiz ")'
        condition: and

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '(?i)roadiz\s*([a-z0-9.\s]+)-'
# digest: 490a004630440220346976abf3b63646f5274c9479109343ea2003304cd2c93c85a94fff21dc3b8a0220522da99845ed10568e0503b5554130fa266ee8932b2bcf649bfc42478470dd97:922c64590222798bb761d5b6d8e72950