Created
April 9, 2014 13:34
-
-
Save averagesecurityguy/10271148 to your computer and use it in GitHub Desktop.
Chrome with Custom Proxy
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
# In your .bashrc file you need to export the BURP_SERVER and BURP_PORT environment | |
# variables. You can change the server and port by exporting new values before | |
# running the shell script. | |
export BURP_SERVER='127.0.0.1' | |
export BURP_PORT='8080' |
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
#!/bin/sh | |
server=${BURP_SERVER} | |
port=${BURP_PORT} | |
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --proxy-server=$server:$port & |
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
# The Mac OS X terminal app does not source a user's .bashrc file on startup. | |
# To make that happen edit /etc/profile to add the following lines. I found this | |
# trick at http://linuxtomacbook.com/?p=22 | |
if [ -r $HOME/.bashrc ]; then | |
source $HOME/.bashrc | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment