Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create googlesites-takeover.yaml #9748

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions http/takeovers/googlesites-takeover.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
id: googlesites-takeover

info:
name: Google sites takeover detection
author: philippedelteil
severity: info
description: This is a Google sites dangling dns record detection. This happens when a Google site is deleted but the DNS record is not.
tags: takeover
reference: https://github.com/EdOverflow/can-i-take-over-xyz/issues/277

dns:
- name: "{{FQDN}}"
type: A
class: inet
recursion: true
retries: 3

http:
- method: GET
path:
- "{{BaseURL}}"

matchers-condition: and
matchers:
- type: word
words:
- "<title>Error 404 (Not Found)!!1</title>"
- "The requested URL <code>/</code> was not found on this server. <ins>That’s all we know.</ins>"
condition: and
- type: status
status:
- 404
- type: dsl
dsl:
- contains(dns_cname, 'ghs.googlehosted.com')
Loading