s3discover

package module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2018 License: MIT Imports: 7 Imported by: 0

README

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Discover

func Discover(domain string) (buckets []string)

Discover scrapes a domain, returning a list of buckets discovered

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL