Home

Awesome

AWS Extender CLI

AWS Extender CLI is a command-line script to test S3 buckets as well as Google Storage buckets and Azure Storage containers for common misconfiguration issues using the boto/boto3 SDK library.

Installing Dependencies

Both of boto and boto3 are required. You can install them using pip:

$ pip install -r requirements.txt

CLI Arguments

Below is a description of supported arguments:

ArgumentDescriptionRequired
-h, --helpShow a help message and exitFalse
-f, --filepathThe path of a bucket names listFalse*
-b, --bucketThe name of the bucket to testFalse*
-w, --wordlistA wordlist filepathFalse
-o, --outputAn output filenameFalse
-k, --keysThe path of your credentials fileFalse
-s, --servicethe name of the storage service ("S3", "GS", or "Azure")True

Notes:

aws_access_key_id=XXXXXXXXXXXXXXXXXXXX
aws_secret_access_key=XXXXXXXXXXXXXXXXXXXXXX

Example Usage:

$ python aws_extender_cli.py -s S3 -b flaws.cloud -k keys.csv
===== (flaws.cloud) =====
[*] s3:ListMultipartUploadParts
[*] s3:ListBucket
	* hint1.html
	* hint2.html
	* hint3.html
	* index.html
	* robots.txt
	* secret-dd02c7c.html