Created
October 28, 2021 09:37
-
-
Save exaV/8f10330a88b84681b2c1ab506d2cca5e to your computer and use it in GitHub Desktop.
mitmproxy setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "enable proxy for http/https traffic" | |
gsettings set org.gnome.system.proxy.http host 'localhost' | |
gsettings set org.gnome.system.proxy.http port '8089' | |
gsettings set org.gnome.system.proxy.https host 'localhost' | |
gsettings set org.gnome.system.proxy.https port '8089' | |
gsettings set org.gnome.system.proxy mode 'manual' | |
mitmweb --listen-port 8089 --web-port 8083 | |
gsettings set org.gnome.system.proxy mode 'none' | |
echo "" | |
echo "disable proxy" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment