Exporting cookies from Firefox 3.x into cookies.txt format

I’ve been searching for a while for a way to extract cookies from Firefox 3.x in order to use them with stuff like wget and Perl’s libwwwperl, which I have been using for a bunch of scripting.  Firefox 3.x uses sqlite to store cookies, whereas apps which let you load cookies files are looking for IE or Netscape formatted ones.  The latter were used up to Firefox 2, but I’ve had trouble keeping FF2 and 3 happy on the same machine… And going back to FF2 feels really painful without the magical search bar of awesomeness.

There’s now a beta extension up to save your FF3 cookies to the right format, which makes me a very happy camper!  It’s on the official addons.mozilla.org site but you need to sign in to the site to download it here as it’s still experimental.  Super useful though!

Also very useful and something I’d forgotten about until yesterday is this list of bookmarklets (snippets of javascript which you save as bookmarks) to manipulate form properties before submitting them, which lets you save passwords in your browser in forms where that function has been disabled, among other things.


CSC491 Capstone Design Class Notes and Status

For CSC491, the Capstone Design Project class I’m taking at the University of Toronto, I’m working with a project called InfoTrace.  The Citizen Lab, who run the project, are interested in global network reachability, particularly under adverse conditions such as DDoS attacks, BGP prefix hijacking, movement of server resources, etc.

Here’s what I’ve accomplished so far:

  • Tracked down U of T’s Principal Investigators for the Planet-Lab network and asked for access for the project
  • Set up this blog
  • Set up a GitHub account
  • Found some similar research
  • Read up on BGP
  • Explored several tools for doing traceroutes and related network tracing: hping3, nmap’s –traceroute, 0trace, and scapy.

A few links promised to my classmates, which are interesting on their own:

Miles Thibault is working on a business plan for a “Wikimovies” web site.  I think he’d get a lot out of some Long Tail reading:  Chris Anderson’s original article, and Kevin Kelly’s riff on it titled “1,000 True Fans“.

Denis Pankratov and Jennifer Ruttan are working on a really nifty-looking project to do accurate indoor localization with CDMA (that “other” cell phone protocol), and (blah) Ian Goldber’s paper on “Three Protocols for Location Privacy” from last year’s Privacy Enhancing Technologies symposium.

My goals, which were originally for the next two weeks but have been pushed back only one as I’ve fallen a bit behind on the “getting stuff up and running” side of things are:

  • Coming up with a database schema for storing connectivity information.
  • Getting a basic web interface up and running in django.

I’m working on these first rather than the network underpinnings as we don’t yet have access to the Planet-Lab infrastructure, so the constraints there aren’t entirely clear.  The front-end stuff will likely run on a server at Citizen Lab, so I can get that up and running right away.