id: short-io-takeover

info:
  name: Short.io takeover detection
  author: philippedelteil
  severity: high
  description: Short.io takeover was detected.
  reference:
    - https://github.com/EdOverflow/can-i-take-over-xyz/issues/260
  metadata:
    max-request: 1
  tags: takeover,short.io

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

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

      - type: word
        words:
          - "Link does not exist"
          - "This domain is not configured on Short.io"
        condition: and

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