I have grown to despise having to turn on/turn off the proxy through Firefox's about:preferences tab. Is there any way to do this via command line?
Foxyproxy is the way to do it. Click on the icon in the toolbar, select your proxy (or no proxy). Easier even then bouncing out to a commandline.
Not on HTB much for the next few months.
Alternatively, you can write a proxy auto-configuration file.
Click here to create an account.