如何通过 mitmproxy 捕获 rclone S3 请求
首先,启动 mitmproxy:
mitmproxy_start.sh
./mitmproxy现在,在你的 rclone 命令中,添加以下环境变量
rclone_https_proxy_env.sh
https_proxy=http://localhost:8080并添加以下命令行标志:
rclone_no_check_certificate.sh
--no-check-certificate完整示例
mitmproxy_rclone_example.sh
https_proxy=http://localhost:8080 rclone copy myfile :s3:mybucket/myfolder/ --no-check-certificate --s3-endpoint https://minio.mydomain.com --s3-access-key-id my-access-key --s3-secret-access-key my-secret-key --s3-region globalCheck out similar posts by category:
S3
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow