firefox for browsing, firefox for auditing

When using a web application proxy, such as those found in WebScarab, Paros Proxy or Burp Suite, it's useful to have a second firefox window open which uses a different user profile set-up to connect through the local web proxy server.  Having a separate instance of firefox running a different user profile means that one instance can be used for general browsing and the other can be used for web application testing or auditing so that the information collected via the proxy isn't diluted with normal browsing requests.

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.
Configure the new profile to use the web application proxy:

  • 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

Recent Entries

  • The TCP/IP Guide - Greasemonkey Userscript

    jah has written a greasemonkey userscript to fix the page layout for The TCP/IP Guide free online edition - it's very simple, but it took him ages!...

  • PicaVue

    jah has begun work on an open source javascript gallery to display his Picasa Web Albums - it's called PicaVue...

  • Nmap 5 - An Introduction

    The newest version of Nmap - Nmap 5.00 - is now available for download and is the best Nmap ever. This is a short introduction to Nmap and the Nmap family of tools: Zenmap; Ncat and Ndiff which are included with this latest release....

  • Enable apache mod_userdir on Debian

    How to enable mod_userdir for apache2 on Debian 5.0 (Lenny)....

  • Nmap 4.85BETA5 and Conficker detection

    Nmap 4.85BETA5 is now available and is able to remotely and anonymously detect hosts compromised with Conficker (downadup, kido) using an NSE script....

  • Install BackTrack 4 beta on VMware 5.5.x from the ISO image

    Here are the steps required to create a new VMware virtual machine on which to install BackTrack 4 beta from the ISO image...