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

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