id: danswer-panel

info:
  name: Danswer Panel - Detect
  author: s4e-io
  severity: info
  description: |
    Danswer panel was discovered.
  reference:
    - https://github.com/danswer-ai/danswer
  metadata:
    verified: true
    max-request: 1
    vendor: danswer-ai
    product: danswer
    fofa-query: icon_hash="484766002"
  tags: panel,login,danswer,detect

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

    matchers:
      - type: dsl
        dsl:
          - 'contains_any(body, "<title>Danswer</title>", "Log In to Danswer")'
          - 'status_code == 200'
        condition: and
# digest: 4b0a004830460221009268126cbb3a11fedf2cc2d7f725c79b7b9569dc110b4fabc7678f6551214dfb022100f2201a728bceaad225b52ff126f1ac6c937d63215ff2565ba6b06316ba63bba4:922c64590222798bb761d5b6d8e72950