Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/koenrh/s3enum
Fast and stealthy Amazon S3 bucket enumeration tool for pentesters.
https://github.com/koenrh/s3enum
amazon-s3 golang recon
Last synced: 5 days ago
JSON representation
Fast and stealthy Amazon S3 bucket enumeration tool for pentesters.
- Host: GitHub
- URL: https://github.com/koenrh/s3enum
- Owner: koenrh
- License: isc
- Created: 2017-02-11T17:08:55.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2024-12-19T14:42:06.000Z (25 days ago)
- Last Synced: 2025-01-01T15:03:41.024Z (12 days ago)
- Topics: amazon-s3, golang, recon
- Language: Go
- Homepage:
- Size: 1.23 MB
- Stars: 236
- Watchers: 7
- Forks: 42
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-sec-s3 - s3enum - Fast Amazon S3 bucket enumeration tool for pentesters (Awesome AWS S3 Security [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/mxm0z/awesome-sec-s3))
README
# s3enum
s3enum is a fast and stealthy Amazon S3 bucket enumeration tool. It leverages DNS
instead of HTTP, which means it does not hit AWS infrastructure directly.It was originally built back in 2016 to [target GitHub](https://koen.io/2016/02/13/github-bug-bounty-hunting/).
## Installation
```console
go install github.com/koenrh/s3enum@v1
```## Usage
You need to specify the base name of the target (e.g., `hackerone`), and a word list.
You could either use the example [`wordlist.txt`](examples/wordlist.txt) file from
this repository, or get a word list [elsewhere](https://github.com/bitquark/dnspop/tree/master/results).
Optionally, you could specify the number of threads (defaults to 5).```
$ s3enum -wordlist examples/wordlist.txt -suffixlist examples/suffixlist.txt -threads 10 hackeronehackerone
hackerone-attachment
hackerone-attachments
hackerone-static
hackerone-upload
```By default, `s3enum` will use the name server as specified in `/etc/resolv.conf`.
Alternatively, you could specify a different name server using the `-nameserver`
option. Besides, you could test multiple names at the same time.```
s3enum \
-wordlist examples/wordlist.txt \
-suffixlist examples/suffixlist.txt \
-nameserver 1.1.1.1 \
hackerone h1 roflcopter
```## Known limitations
s3enum is currently unable to detect S3 buckets in the us-east-1 region.