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,discovery

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

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