Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


A Firefox extension that demonstrates HTTP session hijacking attacks.

Created by:



Start by grabbing the code using Git. If you're planning to contribute, fork the project on GitHub.

$ git clone
$ git submodule update --init

See instructions for your platform below. When done, an xpi will be created inside the build directory. Load the extension into Firefox by dragging it into the Addons dialog.

Mac OS X

  1. Install boost using Homebrew (brew install boost).
  2. Download and extract the Mozilla SDK. You'll probably want the i386 Gecko 1.9.2 download.
  3. Run autogen, specifying the path where you extracted the Mozilla SDK to (./ --with-xulrunner-sdk=/path/to/sdk).
  4. Run make!

If you're using 10.6 (Snow Leopard) and xpidl complains about libIDL, copy everything in contrib/osx/ to ~/lib/.

Ubuntu Linux (10.10 Maverick)

  1. Install build dependencies (sudo apt-get install autoconf libtool libpcap-dev libboost-all-dev libhal-dev xulrunner-1.9.2-dev).
  2. Run ./ then make.


This has so far only been tested on Windows XP (32-bit), however the binaries work fine on Windows 7 too. If you can help simplify this process please let me know.

  1. You'll need Microsoft Visual Studio 2005. The express edition should work too, but this hasn't been tested. Newer versions of Visual Studio should also work, but the Makefiles might need a bit of tweaking. Patches in this area greatly appreciated.
  2. Install Cygwin, selecting the following packages: automake-1.11, gcc-g++.
  3. Install BoostPro. Choose Visual C++ 8.0 and Multithreaded debug, static runtime.
  4. Install WinPcap.
  5. Download and extract the Mozilla SDK (Gecko 1.9.2).
  6. From a Cygwin command prompt: Run autogen, specifying the path where you extracted the Mozilla SDK to (./ --with-xulrunner-sdk=/path/to/sdk) then run make!