id: surveygizmo-takeover

info:
  name: surveygizmo takeover detection
  author: pdteam
  severity: high
  description: surveygizmo 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:
          - data-html-name

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