39 lines
868 B
YAML
39 lines
868 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
|
|
# digest: 490a004630440220549241cfe0dbdadf24bcbdabd6cbf8e82a45bea577710e8409da53f3bdef37d202203bab8b09dea7b68aafc32f8214b331ee6dc4dbe85c0e7a34693b8062dec6fb6a:922c64590222798bb761d5b6d8e72950 |