Skip to content

Instantly share code, notes, and snippets.

@exaV
Created October 28, 2021 09:37
Show Gist options
  • Save exaV/8f10330a88b84681b2c1ab506d2cca5e to your computer and use it in GitHub Desktop.
Save exaV/8f10330a88b84681b2c1ab506d2cca5e to your computer and use it in GitHub Desktop.
mitmproxy setup
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