2021-03-18 11:23:29 +00:00
|
|
|
id: github-takeover
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: github takeover detection
|
2021-06-09 12:20:56 +00:00
|
|
|
author: pdteam
|
2021-03-18 11:23:29 +00:00
|
|
|
severity: high
|
|
|
|
tags: takeover
|
|
|
|
reference: https://github.com/EdOverflow/can-i-take-over-xyz
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
2021-11-08 17:22:12 +00:00
|
|
|
|
2021-11-08 17:15:37 +00:00
|
|
|
matchers-condition: and
|
2021-03-18 11:23:29 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2021-06-06 06:37:19 +00:00
|
|
|
- "There isn't a GitHub Pages site here."
|
2021-11-08 17:15:37 +00:00
|
|
|
- "For root URLs (like http://example.com/) you must provide an index.html file"
|
2021-11-08 17:22:12 +00:00
|
|
|
|
2021-11-08 17:15:37 +00:00
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2021-11-08 17:21:52 +00:00
|
|
|
- '!contains(host,"githubapp.com")'
|