25 lines
539 B
YAML
25 lines
539 B
YAML
id: github-takeover
|
|
|
|
info:
|
|
name: github takeover detection
|
|
author: pdteam
|
|
severity: high
|
|
tags: takeover,github
|
|
reference: https://github.com/EdOverflow/can-i-take-over-xyz
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- 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"
|
|
|
|
- type: dsl
|
|
dsl:
|
|
- '!contains(host,"githubapp.com")'
|