scrape a website to discover s3 buckets
Download the latest release from https://github.com/jakewarren/s3discover/releases/latest
go get github.com/jakewarren/s3discover
❯ s3discover -h
Usage: s3discover [<flags>] <domain>
Example: s3discover github.com
Optional flags:
-d, --debug enable debug logging
-h, --help display help
-v, --verbose enable verbose output
-V, --version display version
package main
import (
"fmt"
"github.com/jakewarren/s3discover"
)
func main() {
buckets := s3discover.Discover("github.com")
fmt.Println(buckets)
// Output: [shopifyorderlimits.s3.amazonaws.com github-cloud.s3.amazonaws.com]
}
❯ s3discover github.com
shopifyorderlimits.s3.amazonaws.com
github-cloud.s3.amazonaws.com
https://github.com/random-robbie/AWS-Scanner/
All notable changes to this project will be documented in the [changelog].
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
MIT © 2018 Jake Warren