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

42 lines
1.0 KiB
YAML
Raw Normal View History

id: github-takeover
info:
2022-12-08 05:30:07 +00:00
name: Github Takeover Detection
2022-12-08 04:58:34 +00:00
author: pdteam,th3r4id
severity: high
2023-12-22 08:59:06 +00:00
description: Github takeover was detected.
reference:
- https://github.com/EdOverflow/can-i-take-over-xyz
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: takeover,github
http:
- method: GET
path:
- "{{BaseURL}}"
2021-11-08 17:22:12 +00:00
matchers-condition: and
matchers:
- type: dsl
dsl:
- Host != ip
- type: word
words:
2021-06-06 06:37:19 +00:00
- "There isn't a GitHub Pages site here."
- "For root URLs (like http://example.com/) you must provide an index.html file"
2022-02-22 12:10:51 +00:00
condition: or
2021-11-08 17:22:12 +00:00
- type: dsl
dsl:
2021-11-08 17:21:52 +00:00
- '!contains(host,"githubapp.com")'
2022-02-22 12:10:51 +00:00
- '!contains(host,"github.com")'
- '!contains(host,"github.io")'
2022-05-31 05:51:59 +00:00
condition: and
2024-07-10 11:31:30 +00:00
extractors:
- type: dsl
dsl:
- cname
# digest: 4b0a00483046022100da69c3934ab685046db34fd5b530f9a94a05843b80c64b9bd0c124de5f99b3bc022100baeb8a7a60d2cc78907aa619a65bba8bfaff269182513a5260167813f14407bf:922c64590222798bb761d5b6d8e72950