id: emlog-installer

info:
  name: Emlog Pro - Installation
  author: ritikchaddha
  severity: high
  description: |
    Emlog Pro Installation page has been exposed.
  metadata:
    max-request: 1
    verified: true
    fofa-query: title="emlog"
  tags: emlog,install,misconfig

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '>MySQL'
          - 'install.php?action=install'
          - 'emlog'
        condition: and
        case-insensitive: true

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