id: anima-takeover

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

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

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

      - type: word
        words:
          - "If this is your website and you've just created it, try refreshing in a minute"

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