nuclei-templates/http/takeovers/gitbook-takeover.yaml

33 lines
831 B
YAML

id: gitbook-takeover
info:
name: gitbook takeover detection
author: philippedelteil
severity: high
description: gitbook takeover was detected.
reference:
- https://github.com/EdOverflow/can-i-take-over-xyz/issues/259
- https://hackerone.com/reports/223625
metadata:
max-request: 1
tags: takeover,gitbook,hackerone
http:
- method: GET
path:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: dsl
dsl:
- Host != ip
- type: word
words:
- "If you need specifics, here's the error"
- "Domain not found"
condition: and
# digest: 4a0a0047304502210093c822f99d160ec31ba2838b87867d7a86e8ce6c93909cf1f5b3d0d29ad55e7102200e20144da548d441f9e161effd7c5437cd20bd1ff64cccd714e9a17cc0aa1fe0:922c64590222798bb761d5b6d8e72950