id: dify-panel

info:
  name: Dify Panel - Detect
  author: s4e-io
  severity: info
  description: |
    Dify panel was discovered.
  reference:
    - https://github.com/langgenius/dify
  metadata:
    verified: true
    max-request: 2
    vendor: langgenius
    product: dify
    fofa-query: icon_hash="97378986"
  tags: panel,login,dify,detect,discovery

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

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 2
    matchers:
      - type: dsl
        dsl:
          - 'contains(body, "<title>Dify")'
          - "status_code == 200"
        condition: and
# digest: 4a0a0047304502205d5840ea5bd929ffcd0dabb08d8c715232266ce0b9045fe1da67262844b21df7022100eeb766dd7f172833be136813f105246f0117bcb08b22354cc56123817cf68cfc:922c64590222798bb761d5b6d8e72950