如果我知道该URL,如何在AWS管理控制台中的S3中查找文件? [英] If I know the url, how to find the file in S3 in the AWS Management Console?

查看:135
本文介绍了如果我知道该URL,如何在AWS管理控制台中的S3中查找文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这个URL,但是在任何S3存储桶中都找不到.我非常确定我使用的是与上载时相​​同的AWS账户登录.我当然可能会误会.我在AWS管理控制台(以root帐户登录)中看到的所有存储桶均具有以http://[bucket-name].s3-website-eu-west-1.amazonaws.com

I have this URL, but I can't find it in any of the S3 buckets. I'm quite sure that I'm logged in with the same AWS account as I did when I uploaded it. I might be mistaken of course. All the buckets I can see in the AWS Management Console (logged in with a root account) have URLs that start with http://[bucket-name].s3-website-eu-west-1.amazonaws.com

如何对该文件所在的Amazon帐户和S3存储桶进行反向工程?

How can I reverse engineer the Amazon account and S3 bucket that this file is placed in?

https://s3.eu-central-1 .amazonaws.com/ac-mail/footer.jpg

我的最终目标是将文件替换为另一个文件.但是我首先需要找到它.

My end goal is to replace the file with another one. But I first need to find it.

推荐答案

The bucket name is "ac-mail". I believe it is not possible to find the owner account of the bucket just from the bucket name unless you own the bucket or you have the permission via the bucket policy. In that case, the command will be: aws s3api get-bucket-acl --bucket ac-mail

**它确实返回所有者的规范ID.

** It does return the canonical id of the owner.

这篇关于如果我知道该URL,如何在AWS管理控制台中的S3中查找文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆