Forked from Anon-Exploiter/aws-s3-buckets-pentest.txt
Created
September 28, 2022 09:16
-
-
Save CalfCrusher/c9869fcae410182cc39461d9e6e8a88b to your computer and use it in GitHub Desktop.
Useful commands while testing s3 buckets!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws s3 ls s3://s3buckethere --no-sign-request ## Lists the file in the s3 bucket | |
aws s3 cp s3://bucketname/filethere.txt . --no-sign-request ## Downloads `filethere.txt` from the s3 bucket in the current directory | |
aws s3 cp test.txt s3://bucketname --no-sign-request ## Uploads `test.txt` from current directory to the s3 bucket | |
aws s3api get-bucket-acl --bucket bucketname --no-sign-request ## Shows ACL (Access Control List) of the given bucket | |
aws s3api get-object-acl --bucket bucketname --key fileons3bucket.ext --no-sign-request ## Shows ACL (Access Control List) of given object in the bucket |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment