id: ampps-admin-panel

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

http:
  - method: GET
    path:
      - "{{BaseURL}}/ampps-admin/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>'
          - 'enduser/themes/default/js/universal.js'
        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: 4b0a00483046022100b0e152d5d4b971cc260dc8f8744529b19dab3551852a17ab298398ad23b2eab3022100859227e7050e3bad56086b48229ce1713a53ffc287c88d65809c115390fad0ad:922c64590222798bb761d5b6d8e72950