id: weiphp-panel

info:
  name: Weiphp Panel - Detect
  author: ritikchaddha
  severity: info
  description: Weiphp panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:weiphp:weiphp:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: weiphp
    product: weiphp
    shodan-query:
      - http.html:"weiphp"
      - http.html:"weiphp5.0"
    fofa-query:
      - body="weiphp"
      - body="weiphp5.0"
  tags: panel,weiphp

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '_blank">WeiPHP'
          - '/weiphp.css?'
        condition: or

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