File upload to RCE
Verify file upload
aws s3 lsaws s3 cp <local file> s3://<bucket> #upload in bucket root
aws s3 cp <local file> s3://<bucket>/<path>aws s3 ls <bucket>
aws s3 ls <bucket>/<path>aws s3 cp s3://<bucket>/<path>/<filename> .Exploit
Malicious filenames
import os;dict(os.environ)Malicious script
Last updated