S3-compatible bucket dumper/analyzer written in Go.
- List public/authenticated bucket objects
- List folders only (
--folder-only) - Search object content (
--search,--regex,--wordlist) - Download objects (
--download) - Bruteforce object keys when listing is blocked (
bruteforce/bf)
gobucket https://example-bucket-public.s3.amazonaws.com/gobucket https://example-bucket-public.s3.amazonaws.com/ \
--regex "((?:ASIA|AKIA|AROA|AIDA)([A-Z0-7]{16}))" \
--timeout 2m[FOUND] <name> | <url> | keywords: <word>/<occurrences>, <word>/<occurrences>
go install github.com/leofvo/gobucket@latestgit clone git@github.com:leofvo/gobucket.git
cd gobucket
go build ./...docker pull ghcr.io/leofvo/gobucket:latest
docker run --rm ghcr.io/leofvo/gobucket:latest -hgofmt -w .
go test ./...- Local docs source:
docs/ - Published docs: https://leofvo.github.io/gobucket/
MIT. See LICENSE.