id: launchrock-takeover

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

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

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

      - type: word
        words:
          - It looks like you may have taken a wrong turn somewhere. Don't worry...it happens to all of us.

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