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

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: 4b0a00483046022100a3c056cc48f6e08590c7669f8afbbd247fb819d707bb6289284853a09841ebd0022100d36befde1c081157bc01a059e0195f6b2f6db4ca7154a552c8032b1e153f2cfa:922c64590222798bb761d5b6d8e72950