Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Feature: Provide deeper mitmproxy integration out-of-the-box in Docker #1392

Open
pirate opened this issue Mar 29, 2024 · 1 comment
Open

Comments

@pirate
Copy link
Member

pirate commented Mar 29, 2024

Features mitmproxy provides: https://mitmproxy.org/

# convert .pem to .crt if needed
openssl x509 -in foo.pem -inform PEM -out foo.crt
# convert .cer to .crt
openssl x509 -inform DER -in foo.cer -out foo.crt
# https://askubuntu.com/questions/73287/how-do-i-install-a-root-certificate/94861#94861

# move mitm CA cert into system store
ln -s /root/.mitmproxy/ca.crt /usr/local/share/ca-certificates/mitmproxy-ca-cert.crt

dpkg-reconfigure ca-certificates
update-ca-certificates
mitmproxy --mode=socks5

# then start chrome pointing to the proxy using socks5
chromium-browser --user-data-dir=/data/personas/Default/chromium --proxy-server='socks5://localhost:8080' --no-sandbox --disable-suid-sandbox --ignore-certificate-errors --ignore-ssl-errors --ignore-certificate-errors-spki-list --allow-running-insecure-content

Alternative option proxy.py: https://github.com/abhinavsingh/proxy.py#run-dashboard

@pirate
Copy link
Member Author

pirate commented May 11, 2024

For anyone who finds this via Google, FYI we have: https://github.com/archiveBox/archivebox-proxy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant