id: privategpt-detect

info:
  name: PrivateGPT - Detect
  author: ritikchaddha
  severity: info
  description: |
    PrivateGPT panel has been detected.
  reference:
    - https://github.com/zylon-ai/private-gpt
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"private gpt"
    product: private-gpt
  tags: panel,privategpt,detect

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'alt=PrivateGPT'
          - 'title":"My Private GPT'
          - 'content="My Private GPT'
        condition: or

      - type: status
        status:
          - 200
# digest: 490a0046304402206cd4e44f0c967b727940c2dd26e466320178e970a628b2718c9e779232f0202c02202df845f250b3efce03c911ca73e1e6dbd92889f95812de859bfd0a27a517951d:922c64590222798bb761d5b6d8e72950