id: lobechat-detect

info:
  name: LobeChat - Detect
  author: s4e-io
  severity: info
  description: |
    An instance running LobeChat was detected.
  reference:
    - https://github.com/lobehub/lobe-chat
  metadata:
    verified: true
    max-request: 1
    fofa-query: icon_hash="1975020705"
  tags: lobechat,tech,detect

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

    host-redirects: true
    matchers:
      - type: dsl
        dsl:
          - 'contains(body, "Welcome to LobeChat")'
          - 'status_code == 200'
        condition: and
# digest: 4a0a00473045022100cabebdfadda86e1c12c2c12788f693025850b5605785cf4a10f7a2a266541e47022019c1304eda4306df3e887482de29687a3ced52cc3d5e4a49a53d77b24153eaf4:922c64590222798bb761d5b6d8e72950