id: compalex-panel-detect

info:
  name: Compalex Panel - Detect
  author: MaStErCho
  severity: medium
  reference:
    - http://compalex.net/
  metadata:
    verified: true
    max-request: 15
    shodan-query: title:"COMPALEX"
  tags: tech,php,compalex,sql,panel

http:
  - method: GET
    path:
      - '{{BaseURL}}'
      - '{{BaseURL}}/{{paths}}/'
      - '{{paths}}.{{BaseURL}}/'

    payloads:
      paths:
        - 'db'
        - 'sql'
        - 'compalex'
        - '_db'
        - 'dbdiff'

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 3
    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<title>COMPALEX"
          - "<h1>Compalex"
        condition: or

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