id: compalex-panel-detect

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

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: 4a0a0047304502203f2d7f7f9157a8d2a5620417f2493ade6413463d3c7fa5572647119700b52256022100cb2d468e2a5c7503f3936717e454be526b55a0d9f89b7fc776ec8be8bb2efe80:922c64590222798bb761d5b6d8e72950