ReferenceError: Cc is not defined #8

ericgross opened this Issue Oct 25, 2010 · 19 comments

Running Windows 7 x86-64 and I get this error when loading the plugin UI.


I am having this issue also using Windows XP, FF 3.6.11


slaps head -- Did you install this: -- It says you need it on the initial Firesheep page. If I had read the direction properly I'd have caught it the first time. Works great for me now.


I had the same issue, I had to reinstall WinpCap to get it to work. I had the software installed already. Firesheep may need the 4.12 version of winpcap


I'm using Windows XP Home Edition, running FF 3.6.11. I've installed 4.12 version of WinpCap first before installing firesheep but I still get the said error message. No luck in reinstalling WinpCap either.


This issue is unresolved on FF3.6.11 on Windows XP SP3 w/ NOD32 4 enterprise.


I posted this on the other issue, but will repeat it here. For those of you having problems with the ReferenceError, you might want to look into your firewall. I don't know enough about the problem to help, but I had the same issue with Comodo. I removed the firewall and everything worked. Then I reinstalled it (after everything was verified) and it continued to work.


I've tried, but it still doesn't work. (Uninstalling everything and then reinstalling WinpCap, firesheep and then KIS) I'm using Kaspersky Internet Security 2011, and I forgot to mention that I'm on SP3 as well.


Has anybody who had this problem managed to resolve it yet? I still get the error even after re-installling everything (FF, WinpCap and firesheep) and upgrading FF to 3.6.12.


I have the same problem, and I get several other reference errors to. If i try to go to settings i get another, and another if i go to another tab.

Im using
Windows 7 x64 Ultimate
FireFox 3.6.11


I think the card is the problem , if i disable the card and put another one , it's kinda working except that my other card seems not working in promiscuous mode :(


I have had the same problem on Linux 64 bit (Ubuntu 10.04), and I've succesfully solved it with a little hack. The problem is in the code that lists the network interface: if it fails to get the vendor of a articular devices, a runtime exception is thrown, which causes the backend to abort, even if I can hardly say that the problem is fatal. You can check if the problem is this one on your machine by running the backend with the --list-interfaces command. On my configuration, it fails when fetching the vendor of the virtual adapter of virtualbox.
So, the quick fix is changing a little thing in backend/src/linux_platfrom.cpp: line 48, "throw ex;" in something less harmful as "return string("ERROR");".


Could someone on windows who's having this problem please try running firesheep-backend.exe --list-interfaces using a command prompt from within the extension directory and let me know what happens?


The result of command is:

PCIe FE Family Controller","type":"ethernet"},"\\Device\\NPF_\{541F075A-98
CE-49E1-AB32-B3C6AF51B9FD\}":{"name":"3DSP USB Wireless A+G Notebook Adapter","type":"ethernet"}}

I 'm running windows 7 32bit with firefox 3.6.12 if it helps...


I'm getting the exact same symptoms as fragioud. Specifying --list-interfaces gives:

{"name":"Hamachi Virtual Network Interface Driver","type":"ethernet"},
{"name":"Marvell Yukon Ethernet Controller.","type":"ethernet"}}

I'm using Fx 4b7 or Fx 3.6.12 with WinPcap 4.12 on Windows 7 Professional.


On Ubuntu 10.10 x64, running Firefox 3.6.12, I ran:
/.mozilla/firefox/[PROFILE NAME]/extensions/$ sudo ./firesheep-backend --list-interfaces

error: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Hal was not provided by any .service files
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid
Aborted (core dumped)

EDIT: lspci returns this for network devices:

 03:00.0 Network controller: Intel Corporation WiFi Link 5100
 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)

I hope that helps, thanks.


I have the previously described issue under Windows 7 and FF 3.6.13 as well. Any resolution hint so far?


im having the same issue, cc not defined, ubuntu 10.10 firefix 3.6
cant get around the error.


Had the same problem on Asus eeepc 701 , Leeenux 4.1 extended, Ubuntuzilla.
Followed pisto's advice;

So, the quick fix is changing a little thing in backend/src/linux_platfrom.cpp: line 48, "throw ex;" in something less harmful as "return string("ERROR");".

Build the firesheep again;



firesheep-backend--list-interfaces returned

terminate called after throwing an instance of 'std::runtime_error'
what(): Could not initialize connection to hald, is it running?

Then I noticed hal was missing so I DL'd it and ran it;

apt-get install hal


now firesheep backend--list interfaces returns;

{"wlan0":{"name":"Atheros Communications Inc. AR5001 Wireless Network Adapter","type":"ieee80211_monitor"},"eth0":{"name":"Atheros Communications L2 100 Mbit Ethernet Adapter","type":"ethernet"}}

and firesheep finds my interfaces and does not report ReferenceError: Cc is not defined anymore!

Problem solved, thanks pisto!


Had the same problem to solve, in the Device Manager disable all network adapters, leaving active only my wireless card. I hope someone else will serve

@codebutler codebutler closed this Mar 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment