id: tave-takeover

info:
  name: tave takeover detection
  author: pdteam
  severity: high
  description: tave 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:
          - "<h1>Error 404: Page Not Found</h1>"

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