id: ampps-panel

info:
  name: AMPPS Login Panel
  author: deFr0ggy
  severity: info
  description: An AMPPS login panel was detected.
  classification:
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: panel,ampps,login

http:
  - method: GET
    path:
      - "{{BaseURL}}/ampps/index.php?act=login"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<a href="http://www.ampps.com">'
          - '<title>Login</title>'
          - 'themes/default/images/ampps/favicon.ico'
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'mpps\.com">Powered By FREE ([A-Z 0-9.]+)<\/a>'
# digest: 490a0046304402202b9a542f816b7cb5c15f61e9db31b58cbb3ce663e1980cf70d0f53a348908c3c02205154a80d881382a5172af6f086fd323a4fdd83b9ca4bd2e94be039fc46133b89:922c64590222798bb761d5b6d8e72950