/s3discover

scrape a website to discover s3 buckets

Primary LanguageGoMIT LicenseMIT

s3discover

GitHub release MIT License Go Report Card PRs Welcome

scrape a website to discover s3 buckets

Install

Option 1: Binary

Download the latest release from https://github.com/jakewarren/s3discover/releases/latest

Option 2: From source

go get github.com/jakewarren/s3discover

Usage

❯ 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

Example

As a library:

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]
}

CLI utility:

❯ s3discover github.com
shopifyorderlimits.s3.amazonaws.com
github-cloud.s3.amazonaws.com

Contributors

Similar Projects

https://github.com/random-robbie/AWS-Scanner/

Changes

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.

License

MIT © 2018 Jake Warren