mitmproxy / docker-releases

🗃️ This repository has been integrated into mitmproxy/mitmproxy.
52 stars 26 forks source link

Can't export flow neither to clipboard or file #20

Closed Alexand closed 6 years ago

Alexand commented 6 years ago

I believe this is because of container permissions.

Steps to reproduce:

1) start MITM on docker:

docker run --rm -it -v ~/.mitmproxy:/home/mitmproxy/.mitmproxy -p 9999:8080 mitmproxy/mitmproxy

2) Send any request to your proxy.

3) hit Shift + C to call the export menu, then for instance, hit r to export as curl . You'll get the message: Cannot copy data to clipboard. Save as file? (yes, no)

4) hit y and enter any filename. You'll get: permission denied

Kriechi commented 6 years ago

Docker does not allow access to your host clipboard.