S3Scanner
Find open AWS S3 buckets and dump their contents
Cloud & Assets6 commands
#s3#aws#cloud#bucket#scanner
Installation
1Clone repository
2Install dependencies
3Verify installation
# Clone repository
git clone https://github.com/sa7mon/S3Scanner.git
cd S3Scanner
# Install dependencies
pip install -r requirements.txt
# Verify
python3 s3scanner.py --helpBasic Usage
Check a list of bucket names for open S3 buckets and dump their contents
# Check buckets from file
python3 s3scanner.py buckets.txt
# Check and dump contents
python3 s3scanner.py --dump buckets.txt
# Check with specific endpoints
python3 s3scanner.py --endpoint us-east-1 buckets.txt
# Include closed buckets in output
python3 s3scanner.py --include-closed buckets.txt
# Output results to file
python3 s3scanner.py buckets.txt -o results.jsonCommand Reference
6 commands
1Download contents of open buckets
--dump2AWS region endpoint
--endpoint3Include closed buckets in output
--include-closed4Output file for results
-o5Number of concurrent threads
--threads6Request timeout in seconds
--timeoutWhen to Use
1
Finding misconfigured S3 buckets during recon2
Security audits of cloud storage configurations3
Bug bounty hunting for S3-related vulnerabilities4
Data leak assessmentsNotes & Tips
1
Only scans buckets you have permission to test2
Dump feature downloads all files from open buckets3
Supports multiple AWS regions automaticallyCommon Errors & Solutions
Access denied
The bucket exists but is not public — this is expected for secure buckets
Bucket not found
The bucket name does not exist — try variations or different regions