id: strikingly-takeover

info:
  name: Strikingly Takeover Detection
  author: pdteam
  severity: high
  description: Strikingly takeover was detected.
  reference:
    - https://medium.com/@sherif0x00/takeover-subdomains-pointing-to-strikingly-5e67df80cdfd
    - https://github.com/EdOverflow/can-i-take-over-xyz/issues/58
  metadata:
    max-request: 1
  tags: takeover,strikingly

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

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

      - type: word
        words:
          - "But if you're looking to build your own website"
          - "you've come to the right place."
        condition: and

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