id: squidex-panel

info:
  name: Squidex Headless CMS Panel - Detect
  author: johnk3r
  severity: info
  description: |
    Squidex is an open source headless CMS and content management hub.
  reference:
    - https://github.com/Squidex/squidex
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.favicon.hash:1099097618
  tags: panel,squidex,login

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/favicon.ico"

    stop-at-first-match: true
    matchers-condition: or
    matchers:
      - type: word
        part: body
        words:
          - '<title>Squidex Headless CMS</title>'
          - '<div>Loading Squidex</div>'
        case-insensitive: true
        condition: or

      - type: dsl
        dsl:
          - "status_code==200 && (\"1099097618\" == mmh3(base64_py(body)))"
# digest: 4b0a00483046022100fac4818e33896ba1b4224b2211a5b3f3877af9a67abb22fb93bcdccc487f5d56022100ca886d0f1c052e8a71c429606a20aec992aba2e59e5d33b6346de7d25effe81c:922c64590222798bb761d5b6d8e72950