Created
November 5, 2021 06:22
-
-
Save hunje/97b810b0f04d84e33dc64967b7eda774 to your computer and use it in GitHub Desktop.
mitmproxy wrap script for
This file contains 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
#!/bin/sh | |
sudo networksetup -setwebproxy Wi-Fi localhost 8080 | |
sudo networksetup -setsecurewebproxy Wi-Fi localhost 8080 | |
sudo networksetup -setwebproxystate Wi-Fi on | |
sudo networksetup -setsecurewebproxystate Wi-Fi on | |
mitmproxy | |
sudo networksetup -setwebproxystate Wi-Fi off | |
sudo networksetup -setsecurewebproxystate Wi-Fi off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment