38 lines
676 B
YAML
38 lines
676 B
YAML
id: gcp-bucket-enum
|
|
|
|
info:
|
|
name: GCP Buckets - Cloud Enumeration
|
|
author: initstring
|
|
severity: info
|
|
description: |
|
|
Searches for open and protected buckets in GCP.
|
|
metadata:
|
|
verified: true
|
|
tags: cloud,cloud-enum,gcp
|
|
|
|
self-contained: true
|
|
|
|
variables:
|
|
BaseDNS: "storage.googleapis.com"
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET http://{{wordlist}}.{{BaseDNS}} HTTP/1.1
|
|
Host: {{wordlist}}.{{BaseDNS}}
|
|
|
|
redirects: false
|
|
|
|
attack: batteringram
|
|
threads: 10
|
|
|
|
matchers:
|
|
- type: status
|
|
name: "Open GCP Bucket"
|
|
status:
|
|
- 200
|
|
|
|
- type: status
|
|
name: "Protected GCP Bucket"
|
|
status:
|
|
- 403 |