id: saltbo-zpan-panel

info:
  name: Saltbo/zpan Panel - Detect
  author: ritikchaddha
  severity: info
  description: |
    Detects the presence of the Saltbo/zpan file management panel.
  reference:
    - https://github.com/saltbo/zpan
  classification:
    cpe: cpe:2.3:a:saltbo:zpan:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: saltbo
    product: zpan
    fofa-query: title="zpan"
    shodan-query: title:"zpan"
  tags: panel,zpan,login,detect

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

    host-redirects: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>ZPan"

      - type: status
        status:
          - 200
# digest: 4a0a004730450220798e7e4878e3e2429f73a2860831bc7e190adad47b26355b264383f61d3d04db022100b13efdebdb98ddfaa544d6db0cc1fb41b97c54491736cb5a43d4990de015dbdd:922c64590222798bb761d5b6d8e72950