From 168572e3be31389025848cc2571f121bbf02ead1 Mon Sep 17 00:00:00 2001 From: mgeeky Date: Fri, 22 Mar 2019 15:37:25 +0100 Subject: [PATCH] README --- clouds/aws/README.md | 2 ++ clouds/aws/identifyS3Bucket.rb | 1 + 2 files changed, 3 insertions(+) diff --git a/clouds/aws/README.md b/clouds/aws/README.md index 83abc60..75d529c 100644 --- a/clouds/aws/README.md +++ b/clouds/aws/README.md @@ -92,3 +92,5 @@ Afterwards, one should see following logs in CloudWatch traces for planted Lambd ``` [*] Following S3 object could be removed: (Bucket=90112981864022885796153088027941100000000000000000000000, Key=cloudtrail/AWSLogs/712800000000/CloudTrail/us-west-2/2019/03/20/712800000000_CloudTrail_us-west-2_20190320T1000Z_oxxxxxxxxxxxxc.json.gz) ``` + +- **`identifyS3Bucket.rb`** - This script attempts to identify passed name whether it resolves to a valid AWS S3 Bucket via different means. This script may come handy when revealing S3 buckets hidden behind HTTP proxies. diff --git a/clouds/aws/identifyS3Bucket.rb b/clouds/aws/identifyS3Bucket.rb index ea69538..5041167 100644 --- a/clouds/aws/identifyS3Bucket.rb +++ b/clouds/aws/identifyS3Bucket.rb @@ -144,6 +144,7 @@ def checkBucketResponse(bucket) 'AllAccessDisabled', 'PermanentRedirect', '', + 'TemporaryRedirect', "#{bucket}", "#{bucket}" ]