Running a separate instance of firefox is easy to achieve and here's the steps involved:
First, create a new firefox profile:
- Start firefox from the command line using the options -no-remote -P (e.g. "C:\Program Files\Mozilla Firefox\firefox.exe" -no-remote -P).
- When the Choose User Profile dialog box opens, click Create Profile to start the Create Profile wizard.
- Click Next, give the profile a name and optionally change the directory where the profile will be stored.
- Click Finish, select the newly created profile in the Choose User Profile dialog and click Start Profile.
- Install the switchproxy add-on for firefox and, of course, don't forget the Noscript add-on without which no firefox profile is complete. Restart firefox to complete installation.
- Create a new proxy profile for use with your favourite web application proxy. For example, the proxy in burp suite v1.2 is available via loopback port:8080 by default so:
- In firefox: Tools > SwitchProxy > Manage Proxies
- In the Manage Proxies dialog: click Add, select Standard and click Next.
- In the Proxy Info dialog, add a name for these proxy settings in the Proxy Label field, add 127.0.0.1 into the HTTP Proxy field and 8080 in the corresponding Port field and click OK twice.
If firefox was open before doing the above, the new profile will be open in a separate window. The key to open multiple instances of firefox is to use the -no-remote -P options of the firefox executable.
The -P option takes the name of the profile as an argument and supplying a valid profile name will launch firefox straight into that profile instead of the Choose User Profile dialog. Therefore a handy shortcut can be created by modifying an existing shortcut to firefox to add to the command: -no-remote -P "New Firefox Profile Name"
Voila, open a separate instance of firefox ready to work with a web application proxy.
Leave a comment