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,vuln

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: 490a00463044022011b1efda71930a3cbd29d577063450a3c9972a58b6928af3f7244b04ee065aaa022012aba216273ba2024ee1457c0724214b8ccaa4264b9174fcdbab0465eb254af8:922c64590222798bb761d5b6d8e72950