All Projects → abhn → S3Scan

abhn / S3Scan

Licence: other
Script to spider a website and find publicly open S3 buckets

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to S3Scan

simply-static-deploy
WordPress plugin to deploy static sites easily to an AWS S3 bucket.
Stars: ✭ 48 (+128.57%)
Mutual labels:  aws-s3, s3-bucket
pentest-reports
Collection of penetration test reports and pentest report templates. Published by the the best security companies in the world.
Stars: ✭ 111 (+428.57%)
Mutual labels:  penetration-testing, infosec
Goofys
a high-performance, POSIX-ish Amazon S3 file system written in Go
Stars: ✭ 3,932 (+18623.81%)
Mutual labels:  aws-s3, s3-bucket
moodle-tool objectfs
Object file storage system for Moodle
Stars: ✭ 61 (+190.48%)
Mutual labels:  aws-s3, s3-bucket
0x4447 product s3 email
📫 A serverless email server on AWS using S3 and SES
Stars: ✭ 2,905 (+13733.33%)
Mutual labels:  aws-s3, s3-bucket
s3 exporter
Exports Prometheus metrics about S3 buckets and objects
Stars: ✭ 65 (+209.52%)
Mutual labels:  aws-s3, s3-bucket
Minio Java
MinIO Client SDK for Java
Stars: ✭ 444 (+2014.29%)
Mutual labels:  aws-s3, s3-bucket
aws-maven-plugin
Deploys resources to AWS using maven
Stars: ✭ 25 (+19.05%)
Mutual labels:  aws-s3, s3-bucket
Sbt S3 Resolver
☁️Amazon S3-based resolver for sbt
Stars: ✭ 112 (+433.33%)
Mutual labels:  aws-s3, s3-bucket
Aws Scanner
Scans a list of websites for Cloudfront or S3 Buckets
Stars: ✭ 93 (+342.86%)
Mutual labels:  aws-s3, s3-bucket
minio-ruby
MinIO Client SDK for Ruby
Stars: ✭ 26 (+23.81%)
Mutual labels:  aws-s3, s3-bucket
tugarecon
Pentest: Subdomains enumeration tool for penetration testers.
Stars: ✭ 142 (+576.19%)
Mutual labels:  penetration-testing, infosec
aws-s3-multipart-upload
Example AWS S3 Multipart upload with aws-sdk for Go - Retries for failing parts
Stars: ✭ 34 (+61.9%)
Mutual labels:  aws-s3, s3-bucket
s3www
Serve static files from any S3 compatible object storage services (Let's Encrypt ready)
Stars: ✭ 86 (+309.52%)
Mutual labels:  aws-s3, s3-bucket
ionic-image-upload
Ionic Plugin for Uploading Images to Amazon S3
Stars: ✭ 26 (+23.81%)
Mutual labels:  aws-s3, s3-bucket
Minio Py
MinIO Client SDK for Python
Stars: ✭ 400 (+1804.76%)
Mutual labels:  aws-s3, s3-bucket
flask-drive
A simple Flask app to upload and download files off Amazon's S3
Stars: ✭ 23 (+9.52%)
Mutual labels:  aws-s3, s3-bucket
Bucket-Flaws
Bucket Flaws ( S3 Bucket Mass Scanner ): A Simple Lightweight Script to Check for Common S3 Bucket Misconfigurations
Stars: ✭ 43 (+104.76%)
Mutual labels:  aws-s3, s3-bucket
Minio Hs
MinIO Client SDK for Haskell
Stars: ✭ 39 (+85.71%)
Mutual labels:  aws-s3, s3-bucket
image-uploader
JavaScript Image Uploader Library for use with Amazon S3
Stars: ✭ 19 (-9.52%)
Mutual labels:  aws-s3, s3-bucket

S3Scan

A simple script to find open Amazon AWS S3 buckets in your target websites. S3 buckets are a popular way of storing static contents among web developers. Often, developers tend to set the bucket permissions insecurely during development, and forget to set them correctly in prod, leading to (security) issues.

Usecase

  • Searching for insecure S3 buckets in a target website during reconnaissance stage.
  • Differentiating between publicly unavailable, secured, read only, read + write and full access buckets
  • Automated crawling and searching for Bucket URLs in website's page source.

Demo

demo

Prerequisites

No worries if you don't have them. You'll install them in 'Installation' section anyway.

  • Python
  • Pip
  • BeautifulSoup
  • Boto3
  • AWS account for access and secret token

Installation

Install Python Pip using your OS's package manager

pip2 install beautifulsoup boto3
git clone https://github.com/abhn/S3Scan.git
cd S3Scan

If you already have awscli installed and configured, you should have the necessary tokens with you. If not, follow the steps.

Login to your AWS panel and generate your ACCESS_KEY and SECRET_KEY. Although fairly straightforward, if you are lost, here is a guide. Now you can either add them to your .bashrc (recommended), or add them to the script itself (not recommended).

To add the credentials to your .bashrc,

echo export AWS_ACCESS_KEY_ID="API7IQGDJ4G26S3VWYIZ" >> ~/.bashrc
echo export AWS_SECRET_ACCESS_KEY="jfur8d6djePf5s5fk62P5s3I6q3pvxsheysnehs" >> ~/.bashrc
source ~/.bashrc

Done!

Usage

Usage: $ python ./s3scan.py [-u] url

Options:
  --version          show program's version number and exit
  -h, --help         show this help message and exit
  -u URL, --url=URL  url to scan
  -d                 turn on debug messages

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].