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

38 lines
962 B
YAML

id: github-takeover
info:
name: Github Takeover Detection
author: pdteam,th3r4id
severity: high
reference:
- https://github.com/EdOverflow/can-i-take-over-xyz
metadata:
max-request: 1
tags: takeover,github
http:
- method: GET
path:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: dsl
dsl:
- Host != ip
- type: word
words:
- "There isn't a GitHub Pages site here."
- "For root URLs (like http://example.com/) you must provide an index.html file"
condition: or
- type: dsl
dsl:
- '!contains(host,"githubapp.com")'
- '!contains(host,"github.com")'
- '!contains(host,"github.io")'
condition: and
# digest: 4b0a00483046022100c5bd64650c55bf81ed25e586e2fa2bcb49186e014e69d921d47926a690085637022100efc929ad2fc33550f9e56ee8fb03601fd3502657ed4cbe3e179f996c2180f9f4:922c64590222798bb761d5b6d8e72950