id: kinsta-takeover

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

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

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

      - type: word
        words:
          - No Site For Domain

    extractors:
      - type: dsl
        dsl:
          - cname
# digest: 490a0046304402207104d946ed60d09435333ddd184eea111b23a9f2ad08f36c17c637fcdb61481102200363f4d36b9d08627dc29d02a49ee26b97fd1b8cfeef77b924780218a413b702:922c64590222798bb761d5b6d8e72950