id: pingdom-takeover

info:
  name: Pingdom Takeover Detection
  author: pdteam
  severity: high
  description: Pingdom takeover was detected.
  reference:
    - https://github.com/EdOverflow/can-i-take-over-xyz/issues/144
  metadata:
    max-request: 1
  tags: takeover,pingdom,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - Host != ip

      - type: word
        words:
          - Public Report Not Activated
          - This public report page has not been activated by the user

    extractors:
      - type: dsl
        dsl:
          - cname
# digest: 4a0a004730450220379cc3e162eaebaf71dcfc62841319aeb42037fa91db4b89bcaa2caeb5af56f40221008e48f38b2360bf3a03e238bcc738419adcab0d79aa04acd1958f6e6a4b661124:922c64590222798bb761d5b6d8e72950